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


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

Syntax

Visual Basic (Declaration)
Public Function ZoomToScale( _ 
   ByVal zoomLevelName As String _ 
) As Double
C#
public double ZoomToScale(
   string zoomLevelName
)
C++
public:
 double ZoomToScale(
   String zoomLevelName
) sealed 
J#
public double ZoomToScale(
   string zoomLevelName
)
JScript
public  function ZoomToScale(
   zoomLevelName : String
) : double

Parameters

zoomLevelName
A name of a zoom level in the P:Web.Map.ZoomLevels collection.

Exceptions

Exception TypeCondition
ExceptionThrown when the name is not found.

See Also