views:

146

answers:

1

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

+7  A: 

See Google Maps API Range Limiting for an article on how to do this.

The code is all there in the example.

Galwegian
Sweet; Forgot to check his site.Couldn't find an answer in google; I must be suffering keyword retardation today. :op Ta
Chris M