Click or drag to resize

MapMapScale Property

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

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

Property Value

Type: Double

Implements

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

Console.WriteLine("The map scale is {0}", myMap.MapScale.ToString("0.0"));
// 'The map scale is 24875.5'

// Adjust zoom to adjust scale. Here we zoom close (value of 1)
myMap.Zoom = ZoomLevel.StreetLevel;

Console.WriteLine("The map scale is now {0}", myMap.MapScale.ToString("0.0"));
// 'The map scale is now 16.6'
See Also