Moves the center of the Map to the specified location and sets the zoom level.


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

Syntax

Visual Basic (Declaration)
Public Sub CenterAndZoom( _ 
   ByVal point As Point,  _ 
   ByVal zoomLevel As Integer _ 
)
C#
public void CenterAndZoom(
   Point point,
   int zoomLevel
)
C++
public:
 void CenterAndZoom(
   Point point,
   int zoomLevel
) sealed 
J#
public void CenterAndZoom(
   Point point,
   int zoomLevel
)
JScript
public  function CenterAndZoom(
   point : Point,
   zoomLevel : int
)

Parameters

point
An object expression that evaluates to a Point object.
zoomLevel
The zoom level for the Map.

See Also