Back to Devexpress

MapControl.ZoomToFit Method

wpf-devexpress-dot-xpf-dot-map-dot-mapcontrol-dot-zoomtofit.md

latest793 B
Original Source

MapControl.ZoomToFit Method

NameParametersDescription
ZoomToFit(IEnumerable<MapItem>, Boolean, Double)items, roundZoomLevel, paddingFactorZooms 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, paddingFactorZooms a map to fit the area containing items sent as a parameter.