MapDisplayScale Property | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Gets or sets the scale of map overlay objects (such as labels, shields, direction arrows, and highlights) relative to the underlying map tiles.
Namespace:
Telogis.GeoBase
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax public int DisplayScale { get; set; }
Public Property DisplayScale As Integer
Get
Set
Return Value
Type:
Int32An integer value representing the display scale of map overlay objects.
Implements
IMapDisplayScaleRemarks Scaling of map elements might be required on devices with high-DPI displays. A minimum integer value of 1 is required, and is equivalent to no scaling.
Examples
In this example, we double the size of all elements above the base map layer.
map.Center = new LatLon(34.45, -117.25);
map.DisplayScale = 2;
MessageBox.Show("Display scale is " + map.DisplayScale.ToString());
See Also