Google Maps
| Google Maps |
|---|
| What: |
| A web mapping service application and technology provided by Google, free for non-commercial uses. |
| Licence: |
| Google Maps licence |
| Parameter value: |
| googlemaps |
| Parameter aliases: |
| googlemaps, google |
| More info: |
| Google Maps |
Google Maps is one of the mapping services natively supported by the Maps and Semantic Maps extensions. It can be used with:
- The display map parser hook
- The display points parser hook
- Semantic MediaWiki queries
Contents |
[edit] Google Maps v3 specific properties
This mapping service defines several of its own parameters that are supported by most of the features implementing this service.
| Parameter | Type | Default | Description |
|---|---|---|---|
| zoom | Whole number | 14 | The zoom level for the map. For maps with markers this will default to the most zoomed in level that still shows all markers. |
| type | Text | roadmap | The map type to initially show. |
| types | List of text items | roadmap, satellite, hybrid, terrain | The map types that will be available via the type control. |
| layers | List of text items | empty | Special layers to load onto the map. |
| controls | List of text items | pan, zoom, type, scale, streetview | The controls to place on the map. |
| zoomstyle | Text | default | The style of the zoom control. |
| typestyle | Text | default | The style of the type control. |
| autoinfowindows | Yes/no | no | Automatically open all info windows after the page has loaded. |
| kml | List of text items | empty | KML files to load onto the map. |
| gkml | List of text items | empty | KML files hosted by Google to load onto the map. |
| fusiontables | List of text items | empty | IDs of Google Fusion Tables which should be loaded onto the map. |
| resizable | Yes/no | no | Makes the map resizable by dragging at it's lower right corner. |
| tilt | Whole number | 0 | Tilt for the Map when using Google Maps. |
| kmlrezoom | Yes/no | no | Rezoom the map after the KML layers have been loaded. |
[edit] Google Maps v3 specific settings
[edit] Default map zoom
The default zoom of a Google Maps map. This value will only be used when the user does not provide one.
Default: $egMapsGMaps3Zoom = 14;
[edit] Default map types
The default Google Maps map types. This are the map types the user will be able to choose in the map type selector control. This value will only be used when the user does not provide one.
Default: $egMapsGMaps3Types = array(
'roadmap',
'satellite',
'hybrid',
'terrain'
);
[edit] Default map type
The default map type, in other words: the one the map will show when the page is loaded. This value will only be used when the user does not provide one.
Default: $egMapsGMaps3Type = 'roadmap';
[edit] Controls
Default: $egMapsGMaps3Controls = array(
'pan',
'zoom',
'type',
'scale',
'streetview'
);
These are all currently supported.
[edit] Layers
Supported: traffic, bicycling
Default: $egMapsGMaps3Layers = array();
[edit] Type control style
Supported: horizontal, vertical or default
Default: $egMapsGMaps3DefTypeStyle = 'default';
[edit] Zoom control style
Supported: small, large or default
Default: $egMapsGMaps3DefZoomStyle = 'default';
[edit] Auto windows
Open info windows on page load by default.
Default: $egMapsGMaps3AutoInfoWindows = false;
[edit] Default tilt
Default tilt when using Google Maps. Integer.
Default: $egMapsGMaps3DefaultTilt = 0;
[edit] JavaScript Loader API key
Needed only when using Google Earth. Can be obtained at: https://code.google.com/apis/loader/signup.html
Default: $egGoogleJsApiKey = ;
| From version | 1.0 + |
| Has description | A web mapping service application and technology provided by Google, free for non-commercial uses. + |
| Has licence | https://code.google.com/apis/maps/terms.html + |
| Has main parameter | googlemaps + |
| Has parameter alias | googlemaps + and google + |
| Has url | https://code.google.com/apis/maps/documentation/javascript/ + |
| Implements | Display map +, Display points + and Queries + |
| Is master page | true + |
| Language code | en + |
| Master page | Google Maps + |
