Gets or sets the current ZoomLevel of the SFMap

Namespace:  EGIS.Web.Controls
Assembly:  EGIS.Web.Controls (in EGIS.Web.Controls.dll)

Syntax

Visual Basic
<BindableAttribute(True)> _
Public Property Zoom As Single
	Get
	Set
C#
[BindableAttribute(true)]
public float Zoom { get; set; }
Visual C++
[BindableAttribute(true)]
public:
property float Zoom {
	float get ();
	void set (float value);
}
JavaScript
function get_zoom();
function set_zoom(value);

Remarks

Changing the ZoomLevel will zoom into or out of the map. Increasing the ZoomLevel will zoom into the map, while decreasing the ZoomLevel will zoom out of the map

The ZoomLevel, CenterPoint, Width and Height of the SFMap determine the location and visible area of the rendered map. The map will be rendered centered at the CenterPoint and scaled according to the ZoomLevel.

Exceptions

ExceptionCondition
System..::..ArgumentException if ZoomLevel less than or equal to zero

See Also