add-web-map Command
Adds a web map source to the current map.
Usage
add-web-map [parameters]
All parameters are optional:
- provider: specifies the web map provider to use. Possible values are: mapnik, osmarender, osmcyclemap, mapquest.osm and mapquest.aerial. 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.
NOTE: MapQuest Open Aerial global coverage is provided at zoom levels 0-11. Zoom Levels 12+ are provided only in the United States (lower 48).
Examples
add-web-map
Adds the Mapnik web map source.
add-web-map provider=osmarender intensity=0.5
Adds the Osmarender web map source which will be rendered half-transparently.