Difference between revisions of "Template:Worldmap"
From Geohashing
imported>Tjtrumpet2323 m |
imported>Tjtrumpet2323 m (Undo revision 7327 by Tjtrumpet2323 (Talk)) |
||
Line 1: | Line 1: | ||
− | + | {{Worldmap/top}} | |
{{Worldmap/graticule | {{Worldmap/graticule | ||
Line 6: | Line 6: | ||
| page = Ghent, Belgium}} | | page = Ghent, Belgium}} | ||
− | {{Worldmap/bottom}} | + | {{Worldmap/bottom}} |
Latest revision as of 23:12, 24 May 2008
<script type="text/javascript" src="http://www.google.com/jsapi?key=ABQIAAAAy7ilYTS0vQM5PD9Mhr6XVxS8dvA4i5v-GwKZMeRoffaqVofkuRSU4Wb3tATggjq922YolnGKH5odmQ"></script>
<script type="text/javascript">
google.load("maps", "2"); // Call this function when the page has been loaded function initialize() { var map = new google.maps.Map2(document.getElementById("worldmap"));
var polygon = new GPolygon([ new GLatLng(51 , 3), new GLatLng(51 + 1, 3), new GLatLng(51 + 1, 3 + 1), new GLatLng(51 , 3 + 1), new GLatLng(51 , 3) ], "#f33f00", 1, 1, "#ffe0e0", 0.2, {geodesic:true}); polygon.click = function(){ location.href = "/geohashing/Ghent,_Belgium"; } map.addOverlay(polygon);
} google.setOnLoadCallback(initialize);
</script>