Restrict Map Panning
Restrict map panning to coordinates or completely disable it
You can restrict or completely disable map panning using the plugin settings. To restrict, simply key in the latitude and longitude limits of the Southwest and Northeast points. When these settings are activated, users will not be able to move the map beyond these points. You can also completely disable map panning if needed.
On this page are two demo maps — on the first one, the feature is completely disabled, and on the other, map panning is restricted to the Southwest and Northeast points.
Related Examples
Previous Example
Change the initial pitch and bearing of your map
Next Example