Widget:Google Maps

This widget allows you to add Google Maps widget to your wiki page.

Created by Sergey Chernyshev

Using this widget
For information on how to use this widget, see widget description page on MediaWikiWidgets.org.

Copy to your site
To use this widget on your site, just install MediaWiki Widgets extension and copy [ full source code] of this page to your wiki as  article.   google.load("maps", "2.x"); // Call this function when the page has been loaded google.setOnLoadCallback(function {	if (google.maps.BrowserIsCompatible)	{		var center = new GLatLng(, );		// Create and Center a Map		var map = new google.maps.Map2(document.getElementById("map"), {size: new google.maps.Size(, )} );		map.setCenter(center, 13);		map.setZoom(Number());		map.addOverlay(new google.maps.Marker(new GLatLng(, )));		map.addOverlay(new GGeoXml());		map.addOverlay(new google.maps.Marker(center));		map.addControl(new GMapTypeControl);		map.addControl(new GLargeMapControl);		map.addControl(new GSmallMapControl);		map.addControl(new GSmallZoomControl);		map.addControl(new GScaleControl);		map.addControl(new GOverviewMapControl);		map.addControl(new GHierarchicalMapTypeControl);	} }); 