Determines the map scale at a specified latitude, level of detail, and screen resolution.

Namespace: Ico.Ewx
Assembly: EwxLayer (in EwxLayer.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public double MapScale(
	double latitude,
	uint mapLevel,
	int screenDpi
)
Visual Basic
Public Function MapScale ( _
	latitude As Double, _
	mapLevel As UInteger, _
	screenDpi As Integer _
) As Double
JScript
public function MapScale(
	latitude : double, 
	mapLevel : uint, 
	screenDpi : int
) : double

Parameters

latitude
Type: System..::..Double
Latitude (in degrees) at which to measure the map scale.
mapLevel
Type: System..::..UInt32
Level of detail, from 1 (lowest detail) to 23 (highest detail).
screenDpi
Type: System..::..Int32
Resolution of the screen, in dots per inch.

Return Value

The map scale, expressed as the denominator N of the ratio 1 : N.

See Also