Skip to main content
All docs
V24.1

MapControl.ZoomToRegion Method

Name Parameters Description
ZoomToRegion(CoordPoint, CoordPoint, Boolean, Double) p1, p2, roundZoomLevel, paddingFactor Zooms to the region by its top-left and bottom-right points, and specifies whether to apply an integer zoom level.
ZoomToRegion(CoordPoint, CoordPoint, Double) p1, p2, paddingFactor Zooms to the region described by its top left and bottom right points.
ZoomToRegion(MapBounds, Boolean, Double) bounds, roundZoomLevel, paddingFactor Zooms the map to the specified region. Allows you to specify whether to use an integer zoom level.
ZoomToRegion(MapBounds, Double) bounds, paddingFactor Zooms the map to the specified region.