The boundary box to fit
Optional
options: JPanAndZoomOptionsanimation, zoom padding, stop event, etc ...
Error if an invalid bbox is passed
// Zoom or unzoom to fit exactly the boundary box
JMap.Map.zoomToRect({ sw: { x: 12, y: 34 }, ne: { x: 23, y: 32 }})
JMap.Map.zoomToRect
Zoom or unzoom to fit exactly the boundary box (animated)