Template:Zh OpenStreetMap Description MapType: Difference between revisions

From Documentation
Jump to navigation Jump to search
Line 1: Line 1:
== Creating Map Type ==
== Creating Map Type ==
The map type means a custom map type for getting tiles.
We turn to the menu "Map Types"


[[File:OSM-MapType-List.png]]
[[File:OSM-MapType-List.png]]


Enter the necessary number of map types.
=== Map Type ===


[[File:OSM-MapType-Detail-MapType.png]]
[[File:OSM-MapType-Detail-MapType.png]]


{|class="zhpropertytable"
|-
|class="zhproperty"|Title||class="zhdescription"|Map Type Title
|-
|class="zhproperty"|Description||class="zhdescription"|Description
|-
|class="zhproperty"|Min Zoom||class="zhdescription"|Min Map Zoom (for which exists tiles)
|-
|class="zhproperty"|Max Zoom||class="zhdescription"|Max Map Zoom (for which exists tiles)
|-
|class="zhproperty"|URL template||class="zhdescription"|URL template for getting map tiles, for example, for OpenStreetMap type it is '''https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png'''
|-
|class="zhproperty"|Layer Type||class="zhdescription"|Type of map layer<br />
* '''Map''' - it is Basemap
* '''Overlay''' - it is Overlay type
|-
|class="zhproperty"|Map type attribution||class="zhdescription"|Attribution of map type, ie license, copyright...
|}
=== Map Type Details ===


[[File:OSM-MapType-Detail-Details-1.png]]
[[File:OSM-MapType-Detail-Details-1.png]]
Line 11: Line 43:


[[File:OSM-MapType-Detail-Details-2.png]]
[[File:OSM-MapType-Detail-Details-2.png]]
{|class="zhpropertytable"
|-
|class="zhproperty"|Tile Width||class="zhdescription"|Tile Width
|-
|class="zhproperty"|Tile Height||class="zhdescription"|Tile Height
|-
|class="zhproperty"|Get Tile URL function||class="zhdescription"|Implementation of function to get tile URL
|-
|class="zhproperty"|Opacity||class="zhdescription"|Opacity
|-
|class="zhproperty"|Opacity management||class="zhdescription"|Change opacity by Opacity Control
|-
|class="zhproperty"|Published||class="zhdescription"|Published
|-
|class="zhproperty"|Category||class="zhdescription"|The category that this map type is assigned to
|}




[[File:OSM-MapType-Detail-Display.png]]
[[File:OSM-MapType-Detail-Display.png]]

Revision as of 13:46, 10 December 2019

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
Opacity Opacity
Opacity management Change opacity by Opacity Control
Published Published
Category The category that this map type is assigned to