Was this helpful?
SDK JS
Examples
Restrict map panning to an area
Restrict map panning to an area