Restrict map panning to an area

Prevent a map from being panned to a different place by setting maxBounds.




    
JavaScript Maps API

Examples