Manage tile server configuration files

TMS (Tile Map Service) is a protocol for serving maps as tiles, which involves splitting the map up into a pyramid of images at multiple zoom levels. You can upload your own tile server configuration files to MashZone NextGen.

All tile server configuration JSON files are in the following directory:

<MashZone NextGen installation>\apache-tomcat\webapps\mashzone\hub\dashboard\assets\geomap\{tenant}\tileservers

To support multi-tenancy, you must replace {tenant} in the path above by the corresponding tenant name. If there are no tenants, default is used in place of {tenant} (tenant name). If a tenant does not have a folder, the shared folder is used. By default, MashZone NextGen is shipped with a default tile server configuration. It enables you to use the Open Street Map tile servers, which have been included as a point of reference.

The maps are available in the Map with markers widget and can be selected there in the Base map drop-down menu.

You can also add a LeafletJS compatible tile server configuration to host an Open Street Map data-based tile server yourself. You must be aware of all terms and licensing conditions that may apply when using a third-party tile server, including servers hosted by Open Street Map.

Example

The following configuration example points to Open Street Map tile servers hosted by Stamen.

{

"label": "Stamen (watercolor)",

"url":"http://{s}.tile.stamen.com/watercolor/{z}/{x}/{y}.jpg",

"attribution":"Map tiles by <a href=\"http://stamen.com/\" target=\"_new\">Stamen Design</a> Data by <a href=\"http://openstreetmap.org/\" target=\"_new\">OpenStreetMap</a>",

"subdomains": ["a","b","c","d"]

}