Converts a double-precision scaling to equivalent tile zoom-level

Namespace:  EGIS.ShapeFileLib
Assembly:  EGIS.ShapeFileLib (in EGIS.ShapeFileLib.dll)

Syntax

Visual Basic
Public Shared Function ScaleToZoomLevel ( _
	scale As Double, _
	tileSize As Integer _
) As Integer
C#
public static int ScaleToZoomLevel(
	double scale,
	int tileSize
)
Visual C++
public:
static int ScaleToZoomLevel(
	double scale, 
	int tileSize
)
JavaScript
EGIS.ShapeFileLib.TileUtil.scaleToZoomLevel = function(scale, tileSize);

Parameters

scale
Type: System..::..Double
tileSize
Type: System..::..Int32

Return Value

See Also