Class MapsZoomSettings
Sets and gets the options to customize the zooming operations in maps.
Inheritance
Namespace: Syncfusion.Blazor.Maps
Assembly: Syncfusion.Blazor.dll
Syntax
public class MapsZoomSettings : OwningComponentBase
Constructors
MapsZoomSettings()
Declaration
public MapsZoomSettings()
Properties
ChildContent
Sets and gets the content of the UI element.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.RenderFragment |
Color
Sets and gets the color for the toolbar in maps.
Declaration
public string Color { get; set; }
Property Value
Type |
---|
System.String |
DoubleClickZoom
Enables or disables the double click zooming in maps.
Declaration
public bool DoubleClickZoom { get; set; }
Property Value
Type |
---|
System.Boolean |
Enable
Enables or disables the zooming operation in the maps component.
Declaration
public bool Enable { get; set; }
Property Value
Type |
---|
System.Boolean |
EnablePanning
Enables or disables the panning operation in the maps component.
Declaration
public bool EnablePanning { get; set; }
Property Value
Type |
---|
System.Boolean |
EnableSelectionZooming
Enables or disables the selection zooming operation in the maps component.
Declaration
public bool EnableSelectionZooming { get; set; }
Property Value
Type |
---|
System.Boolean |
MaxZoom
Sets and gets the maximum zooming value in maps.
Declaration
public double MaxZoom { get; set; }
Property Value
Type |
---|
System.Double |
MinZoom
Sets and gets the minimum zooming value in maps.
Declaration
public double MinZoom { get; set; }
Property Value
Type |
---|
System.Double |
MouseWheelZoom
Enables or disables the mouse wheel zooming in maps.
Declaration
public bool MouseWheelZoom { get; set; }
Property Value
Type |
---|
System.Boolean |
PinchZooming
Enables or disables the pinch zooming in maps.
Declaration
public bool PinchZooming { get; set; }
Property Value
Type |
---|
System.Boolean |
ResetToInitial
Enables or disables the zoom to set the initial State.
Declaration
public bool ResetToInitial { get; set; }
Property Value
Type |
---|
System.Boolean |
ShouldZoomInitially
Enables or disables the zoom based on the marker position while rendering the maps.
Declaration
public bool ShouldZoomInitially { get; set; }
Property Value
Type |
---|
System.Boolean |
ZoomFactor
Sets and gets the factor of zoom to be displayed while rendering the maps.
Declaration
public double ZoomFactor { get; set; }
Property Value
Type |
---|
System.Double |
ZoomOnClick
Enables or disables the zooming on clicking the shapes in maps.
Declaration
public bool ZoomOnClick { get; set; }
Property Value
Type |
---|
System.Boolean |
ZoomOnMarkerClick
Enables or disables zooming of the map when clicking on the markers.
Declaration
public bool ZoomOnMarkerClick { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | Accepts boolean values. |
Remarks
This property controls whether the map zooms in on markers when they are clicked.
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |
Dispose(Boolean)
Disposes the property values during the destroy of the component that is hold up for the execution of the component.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
OnInitializedAsync()
OnInitializedAsync method is called when the component has received its initial parameters.
Declaration
protected override Task OnInitializedAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | System.Threading.Tasks.Task representing the asynchronous operation. |
OnParametersSetAsync()
OnParametersSetAsync is a lifecycle method that is invoked when the component has received parameters, and the incoming values have been assigned to the properties.
Declaration
protected override Task OnParametersSetAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | System.Threading.Tasks.Task representing the asynchronous operation. |