Gets or sets the current ZoomLevel of the SFMap
Namespace:
EGIS.Web.ControlsAssembly: EGIS.Web.Controls (in EGIS.Web.Controls.dll)
Syntax
| Visual Basic (Declaration) |
|---|
<BindableAttribute(True)> _ Public Property Zoom As Single |
| C# |
|---|
[BindableAttribute(true)] public float Zoom { get; set; } |
| Visual C++ |
|---|
[BindableAttribute(true)] public: property float Zoom { float get (); void set (float 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
| Exception | Condition |
|---|---|
| System..::.ArgumentException | if ZoomLevel less than or equal to zero |