Click or drag to resize

MapCtrlZoomLevel Property

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Defines the current zoom level for a MapCtrl operating in GeoStream mode. This differs from Zoom, in that ZoomLevel is expressed in terms of the array of Zooms; ZoomLevel is an index into the array.

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public int ZoomLevel { get; set; }

Property Value

Type: Int32
Remarks

This property is ignored when the current repository is not a GeoStreamRepository.

When in GeoStream mode this property corresponds to the index into the Zooms array that is currently set. In GeoStream mode this property is generally preferable to using Zoom as it sets the exact zoom level, while using Zoom will cause the map to zoom to the closest available ZoomLevel that is as big or larger than the requested Zoom.

Defaults to 0.

See Also