Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

MapControl.ZoomToFit Method

Name Parameters Description
ZoomToFit(IEnumerable<MapItem>, Boolean, Double) items, roundZoomLevel, paddingFactor Zooms the map based on a specified padding factor to allow the map viewport to display all items passed in parameters. Allows you to set whether the map should use a non-negative integer zoom level.
ZoomToFit(IEnumerable<MapItem>, Double) items, paddingFactor Zooms a map to fit the area containing items sent as a parameter.