Click or drag to resize

NavigationManagerReplaceZoomLevels Method

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Replace all ZoomLevel s with specified levels. Initial ZoomLevel is specified with initialZoom. The values set using this method are used when MapControlMode is set to FixedZooms or if MapControlMode is set to DynamicZooms.

Namespace:  Telogis.GeoBase.Navigation
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public void ReplaceZoomLevels(
	NavigationManagerZoomLevel[] zooms,
	int initialZoom
)

Parameters

zooms
Type: Telogis.GeoBase.NavigationNavigationManagerZoomLevel
Zoom levels. This array must be sorted by zooms in ascending order.
initialZoom
Type: SystemInt32
The index into the zooms array which is the zoom level the navigation manager should be set to.
Remarks
If zoom levels are not inserted in ascending order, an exception will be generated. Note that initialZoom is an index into the array.
See Also