Widget talk:Google Maps V3

This widget allows you to embed Google Maps V3 on your wiki page.

Created by Michael Platzer

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.  function gMapInitialize { var myLatLng = new google.maps.LatLng; var myOptions = {zoom:, center: myLatLng, mapTypeId: google.maps.MapTypeId.ROADMAP }; var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions); var marker = new google.maps.Marker({position: myLatLng, map: map, clickable: false}); } if (window.addEventListener) window.addEventListener('load', gMapInitialize,false); else if (document.addEventListener) document.addEventListener('load', gMapInitialize,false); else if (window.attachEvent) window.attachEvent('onload', gMapInitialize); else {//Older browsers only if (typeof window.onload=='function') { var oldload=window.onload; window.onload=function{ oldload; gMapInitialize; } } else window.onload=gMapInitialize; } 