Maps/OSM
This page contains examples of the usage of the Maps MediaWiki extension with OpenStreetMap.
| Maps: |
Examples • Sandbox • Google Maps • Yahoo! Maps • OpenLayers • OpenStreetMap • Discussion • Documentation |
Contents |
Sandbox
You can try out creating your own maps or modifying the underneath examples at the OSM sandbox.
OpenStreetMap demo's
Controls
Settings the controls of a map.
{{
#display_point:
New York City
| service=osm
| controls=autopanzoom,scaleline,overviewmap,keyboarddefaults
}}
* One or more values for parameter controls are invalid. It only accepts these values: pan, zoom, type, scale and streetview.
Mode
Settings the mode of a map. Currently only supported for display_map.
{{
#display_map:
New York City
| service=osm
| mode=osm
}}
The following error has been detected in your syntax:
* mode is not a valid parameter.
Static
Static map. Currently only supported for display_map.
{{
#display_map:
New York City
| service=osm
| static=yes
}}
The following error has been detected in your syntax:
* static is not a valid parameter.
Activatable
Static map that can not be activated.Currently only supported for display_map.
{{
#display_map:
New York City
| service=osm
| static=yes
| activatable=off
}}
The following errors have been detected in your syntax:
* static is not a valid parameter.
* activatable is not a valid parameter.
See also
| Maps: |
Examples • Sandbox • Google Maps • Yahoo! Maps • OpenLayers • OpenStreetMap • Discussion • Documentation |