add-web-map Command
Adds a standard web map source to the current map.
Usage
add-web-map [parameters]
All parameters are optional:
- provider: specifies the standard web map provider to use. Currently the following standard web map providers are available: mapnik, osmarender, osmcyclemap, openseamap, hikebike, hikebike.hillshading and lonvia.hiking. The default provider is Mapnik.
- intensity: a value from 0 to 1 specifying the intensity (opacity) of the rendering of the web map. A web map with intensity of 1 will be fully visible, while a value of 0 will fully hide the web map. The default value is 1.
- background: specifies whether to render the web map's bitmaps in the background (the default setting). This allows custom OSM rendering to be visible above the web map.
After executing the command, the current map source index will be set to this newly loaded source.
Examples
add-web-map
Adds the Mapnik web map source.
add-web-map osmcyclemap
Adds the CycleMap web map source.
add-web-map provider=osmarender intensity=0.5
Adds the Osmarender web map source which will be rendered half-transparently.