Maps/Google Maps
This page contains examples of the usage of the Maps MediaWiki extension with Google Maps.
| 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 Google Maps sandbox.
Google Maps demo's
Controls
Settings the controls of a map.
{{
#display_point:
New York City
| controls=small, nav-label, overview-map, scale
}}
Map types
Settings the available map types.
{{
#display_point:
New York City
| types=hybrid,satellite,physical
}}
Google Earth
Settings the available map types, including a Google Earth one.
{{
#display_point:
New York City
| types=earth,hybrid,satellite,physical
}}
Non-earth map types
Google Sky map.
{{
#display_points:
service=googlemaps
|coordinates=1,2~A star; 10,10; -8,4
|height=500
|width=400
|types=sky
|controls=large,overview
}}
* The value "sky" is not valid for parameter type. It only accepts these values: normal, roadmap, satellite, hybrid, terrain, physical and earth.
* One or more values for parameter types are invalid. It only accepts these values: normal, roadmap, satellite, hybrid, terrain, physical and earth.
* One or more values for parameter controls are invalid. It only accepts these values: pan, zoom, type, scale and streetview.
Map type
Settings the map type.
{{
#display_point:
New York City
| type=hybrid
}}
Settings the map type to one not in the types parameter or default types list.
{{
#display_point:
New York City
| types=hybrid,satellite,physical
| type=earth
}}
Overlays
Displaying a map with 3 overlays of which 2 are shown by default.
{{
#display_point:
New York City
| overlays=wikipedia-1,webcams,photos-1
}}
* overlays is not a valid parameter.
Autozoom
Map without mouse-wheel scroll.
{{
#display_point:
New York City
| autozoom=off
}}
* autozoom is not a valid parameter.
See also
| Maps: |
Examples • Sandbox • Google Maps • Yahoo! Maps • OpenLayers • OpenStreetMap • Discussion • Documentation |