Class MapsZoomSettings
Inherited Members
Namespace: Syncfusion.EJ2.Maps
Assembly: Syncfusion.EJ2.dll
Syntax
public class MapsZoomSettings : EJTagHelper
Constructors
MapsZoomSettings()
Declaration
public MapsZoomSettings()
Properties
Color
Gets or sets the color for the toolbar in maps.
Declaration
[HtmlAttributeName("color")]
public string Color { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type | Description |
---|---|
MvcTemplate<System.Object> |
DoubleClickZoom
Enables or disables the double click zooming in maps.
Declaration
[HtmlAttributeName("doubleClickZoom")]
public bool DoubleClickZoom { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
Enable
Enables or disables the zooming operation in the maps.
Declaration
[HtmlAttributeName("enable")]
public bool Enable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
EnablePanning
Enables or disables the panning operation in the maps.
Declaration
[HtmlAttributeName("enablePanning")]
public bool EnablePanning { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true |
EnableSelectionZooming
Enables or disables the selection zooming operation in the maps.
Declaration
[HtmlAttributeName("enableSelectionZooming")]
public bool EnableSelectionZooming { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true |
HighlightColor
Gets or sets the color for the zoom toolbar when the mouse has hovered on toolbar element in maps.
Declaration
[HtmlAttributeName("highlightColor")]
public string HighlightColor { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
HorizontalAlignment
Gets or sets the position type of toolbar when it is placed horizontally.
Declaration
[HtmlAttributeName("horizontalAlignment")]
public Alignment HorizontalAlignment { get; set; }
Property Value
Type | Description |
---|---|
Alignment | The default value is Alignment.Far |
MaxZoom
Gets or sets the maximum zooming value in maps.
Declaration
[HtmlAttributeName("maxZoom")]
public double MaxZoom { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 10 |
MinZoom
Gets or sets the minimum zooming value in maps.
Declaration
[HtmlAttributeName("minZoom")]
public double MinZoom { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 1 |
MouseWheelZoom
Enables or disables the mouse wheel zooming in maps.
Declaration
[HtmlAttributeName("mouseWheelZoom")]
public bool MouseWheelZoom { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true |
PinchZooming
Enables or disables the pinch zooming in maps.
Declaration
[HtmlAttributeName("pinchZooming")]
public bool PinchZooming { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true |
ResetToInitial
Enables or disables the zoom to set to the initial State.
Declaration
[HtmlAttributeName("resetToInitial")]
public bool ResetToInitial { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true |
SelectionColor
Gets or sets the color for the zooming toolbar when clicking the zooming toolbar in maps.
Declaration
[HtmlAttributeName("selectionColor")]
public string SelectionColor { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
ShouldZoomInitially
Enables or disables the ability to zoom based on the marker position while rendering the maps.
Declaration
[HtmlAttributeName("shouldZoomInitially")]
public bool ShouldZoomInitially { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
ToolBarOrientation
Gets or sets the orientation of the zoom toolbar.
Declaration
[HtmlAttributeName("toolBarOrientation")]
public Orientation ToolBarOrientation { get; set; }
Property Value
Type | Description |
---|---|
Orientation | The default value is Orientation.Horizontal |
Toolbars
Gets or sets the items that are to be shown in the zooming toolbar of the maps. Zoom-in, zoom-out and reset buttons are displayed by default.
Declaration
[HtmlAttributeName("toolbars")]
public string[] Toolbars { get; set; }
Property Value
Type | Description |
---|---|
System.String[] | The default value is null |
ToolbarSettings
Gets or sets the detailed options to customize the entire zoom toolbar.
Declaration
[HtmlAttributeName("toolbarSettings")]
public object ToolbarSettings { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
VerticalAlignment
Gets or sets the position type of toolbar when it is placed vertically.
Declaration
[HtmlAttributeName("verticalAlignment")]
public Alignment VerticalAlignment { get; set; }
Property Value
Type | Description |
---|---|
Alignment | The default value is Alignment.Near |
ZoomFactor
Gets or sets the factor of zoom to be displayed while rendering the maps.
Declaration
[HtmlAttributeName("zoomFactor")]
public double ZoomFactor { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 1 |
ZoomOnClick
Enables or disables the zooming on clicking the shapes in maps.
Declaration
[HtmlAttributeName("zoomOnClick")]
public bool ZoomOnClick { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |