This helper method creates a set of zoom levels used in various online mapping services.


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

Syntax

Visual Basic (Declaration)
Public Shared Function CreateSet( _ 
   ByVal setName As String _ 
) As ZoomLevels
C#
public static ZoomLevels CreateSet(
   string setName
)
C++
public:
 static ZoomLevels CreateSet(
   String setName
)
J#
public static ZoomLevels CreateSet(
   string setName
)
JScript
public static  function CreateSet(
   setName : String
) : ZoomLevels

Parameters

setName
Specifies the set of levels: "gm" - Google Maps, "bm" - Bing Maps, "osm" - OpenStreetMap.

Example

 Copy Code
ZoomLevels levels = ZoomLevels.CreateSet("gm");

See Also