Click or drag to resize

DirectionsZoomTo Method (IMap, Int32)

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release

Zooms the given map to this driving route, and ensures that there is a visible buffer of buffer pixels between the edge of the route and the edge of the map.

For example, setting buffer to 10 results in a map where the edges of this driving route are 10 pixels in from the edge of the map.

Namespace:  Telogis.GeoBase.Routing
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public void ZoomTo(
	IMap aMap,
	int buffer
)

Parameters

aMap
Type: Telogis.GeoBaseIMap
IMap upon which the zoom takes place.
buffer
Type: SystemInt32
Minimum number of pixels between the edge of the route and the edge of the map.
See Also