Google Maps

From Mapping on MediaWiki
(Redirected from Google Maps v3)
Jump to: navigation, search
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:

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 = ;

This documentation page applies to all (Semantic) Maps versions from 1.0 to the most current version.
Other versions: 0.5.3 – 0.7.x      

Google Maps en 1.0

Personal tools
Namespaces
Variants
Views
Actions
Navigation
Manuals
Usefull lists
More awesomeness
Toolbox