Class MapZoomEventArgs
Specifies the event arguments for zoom event in maps.
Inherited Members
Namespace: Syncfusion.Blazor.Maps
Assembly: Syncfusion.Blazor.dll
Syntax
public class MapZoomEventArgs : MinMaxLatitudeLongitude
Constructors
MapZoomEventArgs()
Declaration
public MapZoomEventArgs()
Properties
Cancel
Gets or sets a value indicating whether the event should be canceled. If set to true, the event progress will be stopped.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Remarks
If zoom effects need to be controlled or prevented under certain conditions, set this to true.
Scale
Gets or sets the scale value for the maps.
Declaration
public double Scale { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A double value representing the scale of the map. |
Remarks
The scale determines the zoom level of the map. Higher values indicate closer zoom.
TileTranslatePoint
Gets or sets the tile translate point.
Declaration
public PointF TileTranslatePoint { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.PointF | A System.Drawing.PointF structure representing the translation applied to the tile map. |
Remarks
Translate points are used to adjust how tiles are rendered and positioned during zooming.
TileZoomLevel
Gets or sets the zoom level for the tile maps.
Declaration
public double TileZoomLevel { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A double value indicating the current zoom level of the tile map. |
Remarks
Altering the zoom level changes the extent and focus of detail visible on the tile map.
TranslatePoint
Gets or sets the translate point of geometry map.
Declaration
public PointF TranslatePoint { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.PointF | A System.Drawing.PointF structure representing the translation applied to the geometry layers. |
Remarks
Translate points are crucial in controlling the position and navigation of geometry-based features.
Type
Gets or sets the type of zoom interaction.
Declaration
public string Type { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string indicating the mode of zoom interaction (e.g., MouseWheel, TouchPinch, etc.). |
Remarks
Utilize this property to determine the method of user interaction prompting the zoom event.