menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Maps - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class Maps

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    Maps
    Namespace: Syncfusion.EJ2.Maps
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class Maps : EJTagHelper

    Constructors

    Maps()

    Declaration
    public Maps()

    Properties

    AllowImageExport

    Enables or disables the export to image functionality in maps.

    Declaration
    public bool AllowImageExport { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    AllowPdfExport

    Enables or disables the export to PDF functionality in maps.

    Declaration
    public bool AllowPdfExport { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    AllowPrint

    Enables or disables the print functionality in maps.

    Declaration
    public bool AllowPrint { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    AnimationComplete

    Triggers after the animation is completed in the maps.

    Declaration
    public string AnimationComplete { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    AnnotationRendering

    Triggers before rendering an annotation in the maps.

    Declaration
    public string AnnotationRendering { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    Annotations

    Gets or sets the options for customizing the annotations in the maps.

    Declaration
    public List<MapsAnnotation> Annotations { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<MapsAnnotation>

    The default value is null

    Background

    Gets or sets the background color of the maps container.

    Declaration
    public string Background { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    BaseLayerIndex

    Gets or sets the index of the layer of maps which will be the base layer. It provides the option to select which layer to be visible in the maps.

    Declaration
    public double BaseLayerIndex { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 0

    BeforePrint

    Triggers before the print gets started.

    Declaration
    public string BeforePrint { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    Border

    Gets or sets the options for customizing the style properties of the maps border.

    Declaration
    public MapsBorder Border { get; set; }
    Property Value
    Type Description
    MapsBorder

    The default value is null

    BubbleClick

    Triggers when performing the click operation on the bubble element in maps.

    Declaration
    public string BubbleClick { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    BubbleMouseMove

    Triggers when hovering the mouse on the bubble element in maps.

    Declaration
    public string BubbleMouseMove { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    BubbleRendering

    Triggers before the bubble element gets rendered on the map.

    Declaration
    public string BubbleRendering { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    CenterPosition

    Gets or sets the center position of the maps.

    Declaration
    public MapsCenterPosition CenterPosition { get; set; }
    Property Value
    Type Description
    MapsCenterPosition

    The default value is null

    Click

    Triggers when a user clicks on an element in Maps.

    Declaration
    public string Click { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    DataLabelRendering

    Triggers before the data-label gets rendered.

    Declaration
    public string DataLabelRendering { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    Description

    Gets or sets the description of the maps for assistive technology.

    Declaration
    public string Description { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    DoubleClick

    Triggers when performing the double click operation on an element in maps.

    Declaration
    public string DoubleClick { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    EnablePersistence

    Enable or disable persisting component's state between page reloads.

    Declaration
    public bool EnablePersistence { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    EnableRtl

    Enable or disable rendering component in right to left direction.

    Declaration
    public bool EnableRtl { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    Format

    Gets or sets the format to apply internationalization for the text in the maps.

    Declaration
    public string Format { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    Height

    Gets or sets the height in which the maps is to be rendered.

    Declaration
    public string Height { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    HtmlAttributes

    Allows additional HTML attributes such as title, name, etc., and accepts n number of attributes in a key-value pair format.

    Declaration
    public object HtmlAttributes { get; set; }
    Property Value
    Type
    System.Object

    ItemHighlight

    Trigger before the shape, bubble or marker gets highlighted.

    Declaration
    public string ItemHighlight { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    ItemSelection

    Triggers before the shape, bubble or marker gets selected.

    Declaration
    public string ItemSelection { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    LayerRendering

    Triggers before the maps layer gets rendered.

    Declaration
    public string LayerRendering { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    Layers

    Gets or sets the options to customize the layers of the maps.

    Declaration
    public List<MapsLayer> Layers { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<MapsLayer>

    The default value is null

    LegendRendering

    Triggers before the legend gets rendered.

    Declaration
    public string LegendRendering { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    LegendSettings

    Gets or sets the options to customize the legend of the maps.

    Declaration
    public MapsLegendSettings LegendSettings { get; set; }
    Property Value
    Type Description
    MapsLegendSettings

    The default value is null

    Load

    Triggers before the maps gets rendered.

    Declaration
    public string Load { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    Loaded

    Triggers after the maps gets rendered.

    Declaration
    public string Loaded { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    Locale

    Overrides the global culture and localization value for this component. Default global culture is 'en-US'.

    Declaration
    public string Locale { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

    MapsArea

    Gets or sets the options to customize the area around the map.

    Declaration
    public MapsMapsAreaSettings MapsArea { get; set; }
    Property Value
    Type Description
    MapsMapsAreaSettings

    The default value is null

    Margin

    Gets or sets the options to customize the margin of the maps.

    Declaration
    public MapsMargin Margin { get; set; }
    Property Value
    Type Description
    MapsMargin

    The default value is null

    MarkerClick

    Triggers when clicking on a marker element.

    Declaration
    public string MarkerClick { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    MarkerClusterClick

    Triggers when clicking the marker cluster in maps.

    Declaration
    public string MarkerClusterClick { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    MarkerClusterMouseMove

    Triggers when moving the mouse over the marker cluster element in maps.

    Declaration
    public string MarkerClusterMouseMove { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    MarkerClusterRendering

    Triggers before the maps marker cluster gets rendered.

    Declaration
    public string MarkerClusterRendering { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    MarkerDragEnd

    When the marker has stopped dragging on the map, this event is triggered.

    Declaration
    public string MarkerDragEnd { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    MarkerDragStart

    When the marker begins to drag on the map, this event is triggered.

    Declaration
    public string MarkerDragStart { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    MarkerMouseMove

    Triggers when moving the mouse over the marker element in maps.

    Declaration
    public string MarkerMouseMove { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    MarkerRendering

    Triggers before the maps marker gets rendered.

    Declaration
    public string MarkerRendering { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    MouseMove

    This event is triggered when the mouse pointer moves over the map.

    Declaration
    public string MouseMove { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    Onclick

    Triggers when a user clicks on an element in Maps.

    Declaration
    public string Onclick { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    Pan

    Triggers before performing the panning operation.

    Declaration
    public string Pan { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    PanComplete

    This event is triggered after performing the panning action.

    Declaration
    public string PanComplete { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    ProjectionType

    Gets or sets the projection with which the maps will be rendered to show the two-dimensional curved surface of a globe on a plane.

    Declaration
    public ProjectionType ProjectionType { get; set; }
    Property Value
    Type Description
    ProjectionType

    The default value is ProjectionType.Mercator

    Resize

    Triggers to notify the resize of the maps when the window is resized.

    Declaration
    public string Resize { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    RightClick

    Triggers when performing the right click operation on an element in maps.

    Declaration
    public string RightClick { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    ShapeHighlight

    Triggers before the shape gets highlighted.

    Declaration
    public string ShapeHighlight { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    ShapeRendering

    Triggers before the maps shape gets rendered.

    Declaration
    public string ShapeRendering { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    ShapeSelected

    Triggers when a shape is selected in the maps.

    Declaration
    public string ShapeSelected { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    TabIndex

    Gets or sets the tab index value for the maps.

    Declaration
    public double TabIndex { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 0

    Theme

    Gets or sets the theme styles supported for maps. When the theme is set, the styles associated with the theme will be set in the maps.

    Declaration
    public MapsTheme Theme { get; set; }
    Property Value
    Type Description
    MapsTheme

    The default value is MapsTheme.Material

    TitleSettings

    Gets or sets the options to customize the title of the maps.

    Declaration
    public MapsTitleSettings TitleSettings { get; set; }
    Property Value
    Type Description
    MapsTitleSettings

    The default value is null

    TooltipDisplayMode

    Gets or sets the mode in which the tooltip is to be displayed. The tooltip can be rendered on mouse move, click or double clicking on the element on the map.

    Declaration
    public TooltipGesture TooltipDisplayMode { get; set; }
    Property Value
    Type Description
    TooltipGesture

    The default value is TooltipGesture.MouseMove

    TooltipRender

    Triggers before the maps tooltip gets rendered.

    Declaration
    public string TooltipRender { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    TooltipRenderComplete

    Triggers after the maps tooltip gets rendered.

    Declaration
    public string TooltipRenderComplete { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    UseGroupingSeparator

    Enables or disables the visibility state of the separator for grouping.

    Declaration
    public bool UseGroupingSeparator { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    Width

    Gets or sets the width in which the maps is to be rendered.

    Declaration
    public string Width { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    Zoom

    Triggers before the zoom operations such as zoom in and zoom out in the maps.

    Declaration
    public string Zoom { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    ZoomComplete

    This event is triggered after the zooming operation is completed.

    Declaration
    public string ZoomComplete { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    ZoomSettings

    Gets or sets the options to customize the zooming operations in maps.

    Declaration
    public MapsZoomSettings ZoomSettings { get; set; }
    Property Value
    Type Description
    MapsZoomSettings

    The default value is null

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