Template:Zh OpenStreetMap Description MapType

From Documentation
Jump to navigation Jump to search

Creating Map Type

The map type means a custom map type for getting tiles.


We turn to the menu "Map Types"


Enter the necessary number of map types.


Map Type


Title Map Type Title
Description Description
Min Zoom Min Map Zoom (for which exists tiles)
Max Zoom Max Map Zoom (for which exists tiles)
URL template URL template for getting map tiles, for example, for OpenStreetMap type it is https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png
Layer Type Type of map layer
  • Map - it is Basemap
  • Overlay - it is Overlay type
Map type attribution Attribution of map type, ie license, copyright...


Map Type Details



Tile Width Tile Width
Tile Height Tile Height
Get Tile URL function Implementation of function to get tile URL if you don't use URL template
Opacity Opacity
Opacity management Change opacity by Opacity Control
Published Published
Category The category that this map type is assigned to

Display