This section explains how to configure a layer based on a map from a tile server. These map layers are used to display additional geographic information on the main map.
Tile server layers are configured in TileServerLayer nodes, as in the example below.
<TileServerLayer>
<id>TileServerExample</id>
<Name>Tile Server Example</Name>
<Icon id="icon1"/>
<Url>http://{s}.mqcdn.com/tiles/1.0.0/sat/{z}/{x}/{y}.png</Url>
<MaxZoom>11</MaxZoom>
<SubDomains>otile1,otile2,otile3,otile4</SubDomains>
</TileServerLayer>
In the XML structure of the layer, the following elements can be configured:
Parameter |
Required? |
Description |
id |
Yes |
Unique identifier for the layer in the configuration. This value cannot be the same as any other layer ID. |
Name |
Yes |
Name of the layer to be displayed in the Layers window in the interface. |
Icon |
Yes |
Icon used to identify the layer in the Layers window. Note that this icon must have been previously configured, as detailed in Appendix -> Layers for the Integration Map -> How to Configure an Icon for a Layer. |
URL |
Yes |
Path of the tile server to be used. |
MaxZoom |
Yes |
Maximum zoom level that can be applied to the map until there are no more tiles to display. |
SubDomains |
Yes |
Subdomains on which the tiles in the map are hosted. These should be entered between commas, with no spaces. For example, subdomain1,subdomain2,subdomain3. |