public int getZoomForExtent(Bounds bounds, boolean closest) { return MapImpl.getZoomForExtent(getJSObject(), bounds.getJSObject(), closest); }