Click or drag to resize

MapMaxZoom Property

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Gets the maximum zoom value of this map.

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

Property Value

Type: Double

Implements

IMapMaxZoom
Remarks

Defaults to 18000.

See Zoom.
Examples
C#
// Create a Map object
Telogis.GeoBase.Map myMap = new Telogis.GeoBase.Map();

// Set maximum zoom to 100
myMap.MaxZoom = 100;

Console.WriteLine("The maximum zoom value for this map is {0}", myMap.MaxZoom);
// 'The maximum zoom value for this map is 100'

// Then set maximum zoom to CityLevel (50)
myMap.MaxZoom = ZoomLevel.CityLevel;

Console.WriteLine("The maximum zoom value for this map is now {0}", myMap.MaxZoom);
// 'The maximum zoom value for this map is now 50'
See Also