Returns the scale that corresponds to the specified zoom level index.


Namespace: AspMap.Web
Assembly: AspMapNET (in AspMapNET.dll)

Syntax

Visual Basic (Declaration)
Public Function ZoomToScale( _ 
   ByVal zoomLevel As Integer _ 
) As Double
C#
public double ZoomToScale(
   int zoomLevel
)
C++
public:
 double ZoomToScale(
   int zoomLevel
) sealed 
J#
public double ZoomToScale(
   int zoomLevel
)
JScript
public  function ZoomToScale(
   zoomLevel : int
) : double

Parameters

zoomLevel
An index to a zoom level in the P:Web.Map.ZoomLevels collection.

Exceptions

Exception TypeCondition
ExceptionThrown when the index is out bounds the P:Web.Map.ZoomLevels collection.

See Also