How would I make it so you cant drag outside of the UK in google maps? Can you lock it down to a certain area, as I'd like to be able to drag around the UK but not outside.
Ta
Chris
How would I make it so you cant drag outside of the UK in google maps? Can you lock it down to a certain area, as I'd like to be able to drag around the UK but not outside.
Ta
Chris
See Google Maps API Range Limiting for an article on how to do this.
The code is all there in the example.