Template:Fragoria Map
From FragoriaWiki
(Difference between revisions)
Line 42: | Line 42: | ||
// bounds of the desired area | // bounds of the desired area | ||
var allowedBounds = new google.maps.LatLngBounds( | var allowedBounds = new google.maps.LatLngBounds( | ||
- | new google.maps.LatLng( | + | new google.maps.LatLng(50, 80), |
- | new google.maps.LatLng(50, -80) | + | new google.maps.LatLng(-50, -80) |
); | ); | ||
var lastValidCenter = map.getCenter(); | var lastValidCenter = map.getCenter(); |
Revision as of 21:51, 3 April 2015