Re: Constrain Google map to only show selection of global map
Aug 10, 2012 11:31 AM
Posted in group:
Google Fusion Tables
How do I...?
I managed to do this the other day, saw someone else's post. Set the LatLng bounds then add a dragend listener so when a user stops dragging they are pulled back to your area. This was for England, not the whole of GB but just adjust the LatLng bounds. Here you go:
map = new google.maps.Map(document.getElementById("map_canvas"),