Click or drag to resize

MapZoomToBoundingBox Method (BoundingBox, Int32)

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Zooms and centers the map to the given BoundingBox.

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public void ZoomToBoundingBox(
	BoundingBox abox,
	int buffer
)

Parameters

abox
Type: Telogis.GeoBaseBoundingBox
The BoundingBox to zoom and center on.
buffer
Type: SystemInt32
The number of pixels between the edge of abox and the edge of the visible map area. See remarks.

Implements

IMapZoomToBoundingBox(BoundingBox, Int32)
Remarks
Use to zoom the map to display the area of the given BoundingBox.
Use the buffer parameter to set the amount by which abox is inside the resulting visible map area. For example, setting buffer to 10 results in a map where the edges of abox are 10 pixels in from the edge of the map.
See Also