CM Maps Route Manager (CMMRM) - How To - Add Tiles/Layers To Map
Adding Tiles/Layers to Maps
To learn more about tiles and alternatives to choose from, check Tiles - OpenStreetMap Wiki
What is This Feature
It's possible to offer additional tiles layers on your maps. These present additional information on top of the map.
By default, the plugin connects with the free OSM ( Open Street Map) service. Examples of what it can achieve:
Navigate to the Admin Dashboard → CM Maps Routes Manager Pro → Settings.
The settings are in the General tab, under the Map section.
- Default map view - Choose what is the default view. Users can change this at any time.
- Insert URL for tile - Add the URL of the tile service of your choice. Check Tiles - OpenStreetMap Wiki for more examples.
URL Supports Zoom Level and Dimensions
The URL can store three parameters: zoom level, tile height and tile width.
Add /:zoom:/:x:/:y: at the end of the URL and e all three patterns will be substituted with corresponding values, and map will be provided by source server.
Add the tile url https://tile.openstreetmap.org/:zoom:/:x:/:y:.png. The source server will generate https://tile.openstreetmap.org/7/40/27.png.
The particular template view may look different in accordance to certain API requirements.
- Change files feature - Lets the visitor turn tiles on or off while browsing the map.
Allow Users To Upload Tiles
You can edit the upload to form to allow users to set different tiles for each Route. Learn More