menu

ASP.NET Core - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MapsZoomSettings - API Reference

    Show / Hide Table of Contents

    Class MapsZoomSettings

    Inheritance
    System.Object
    EJTagHelper
    MapsZoomSettings
    Inherited Members
    EJTagHelper.GetList()
    EJTagHelper.Process(TagHelperContext, TagHelperOutput)
    EJTagHelper.RegisterScript()
    EJTagHelper.GetSerializedProperties()
    EJTagHelper.GetScriptString()
    EJTagHelper.GetHtmlAttrString(IDictionary<String, Object>)
    EJTagHelper.TagName
    EJTagHelper.ViewContext
    EJTagHelper.For
    EJTagHelper.Id
    EJTagHelper.NameSpace
    EJTagHelper.ClassName
    EJTagHelper.IsFor
    EJTagHelper.IsChild
    EJTagHelper.IsComplex
    EJTagHelper.IsCollection
    EJTagHelper.ParentPropertyName
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    public bool ZoomOnClick { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved