Returns the ZoomLevels collection associated with the Map.


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

Syntax

Visual Basic (Declaration)
Public Property ZoomLevels As ZoomLevels
C#
public ZoomLevels ZoomLevels { get; set; }
C++
public property ZoomLevels ZoomLevels sealed  {
    ZoomLevels get();
    void set(ZoomLevels value);
}
J#
/** property */
public ZoomLevels get_ZoomLevels();

/** property */
public void set_ZoomLevels(ZoomLevels value);
JScript
public function get ZoomLevels() : ZoomLevels

public function set ZoomLevels(value : ZoomLevels);

Remarks

Add multiple zoom levels to the ZoomLevels collection if you want to enable map navigation by zoom levels only.
If the the ZoomLevels collection contains one or more zoom levels, the Map control will adjust the scale of the map changed by the ZoomIn, ZoomOut, ZoomFull, ZoomScale methods and Extent, MapScale properties to the most nearest scale defined in the collection. The P:Web.Map.ZoomLevel property also will be set to the zoom level index that corresponds to that scale.

See Also