Converts a zoomLevel to its equivalent double-precision scaling
Namespace:
EGIS.ShapeFileLib
Assembly:
EGIS.ShapeFileLib (in EGIS.ShapeFileLib.dll)
Syntax
Visual Basic |
---|
Public Shared Function ZoomLevelToScale ( _
zoomLevel As Integer, _
tileSize As Integer _
) As Double |
C# |
---|
public static double ZoomLevelToScale(
int zoomLevel,
int tileSize
) |
Visual C++ |
---|
public:
static double ZoomLevelToScale(
int zoomLevel,
int tileSize
) |
JavaScript |
---|
EGIS.ShapeFileLib.TileUtil.zoomLevelToScale = function(zoomLevel, tileSize); |
Parameters
- zoomLevel
- Type: System..::..Int32
- tileSize
- Type: System..::..Int32
Return Value
Exceptions
Exception | Condition |
---|
System..::..ArgumentException | If zoomLevel less than zero |
See Also