imported>FrederikVds (New page: var polygon = new GPolygon([ new GLatLng({{{lat}}} , {{{lon}}}), new GLatLng({{{lat}}} + 1, {{{lon}}}), new GLatLng({{{lat}}} + 1, {{{lon}}} + 1), new GLatLn...) |
imported>FrederikVds |
||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
polygon.click = function(){ | polygon.click = function(){ | ||
− | location.href = " | + | location.href = "{{localurl:{{{page}}}}}"; |
} | } | ||
map.addOverlay(polygon); | map.addOverlay(polygon); |
Latest revision as of 16:27, 23 May 2008
var polygon = new GPolygon([ new GLatLng({{{lat}}} , {{{lon}}}), new GLatLng({{{lat}}} + 1, {{{lon}}}), new GLatLng({{{lat}}} + 1, {{{lon}}} + 1), new GLatLng({{{lat}}} , {{{lon}}} + 1), new GLatLng({{{lat}}} , {{{lon}}}) ], "#f33f00", 1, 1, "#ffe0e0", 0.2, {geodesic:true}); polygon.click = function(){ location.href = "{{localurl:{{{page}}}}}"; } map.addOverlay(polygon);