Class MapsLayer
Inheritance
System.Object
MapsLayer
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Syncfusion.EJ2.dll
Syntax
public class MapsLayer : EJTagHelper
Constructors
MapsLayer()
Declaration
Properties
AnimationDuration
Sets and gets the duration for the animation of layers in maps.
Declaration
[HtmlAttributeName("animationDuration")]
public double AnimationDuration { get; set; }
Property Value
Type |
Description |
System.Double |
|
BingMapType
Sets and gets the Bing map type for the layer. If you use shape data with BingMapType without using layer type as Bing,
then the map will render based on shape data since default layer type will be set as Geometry.
Declaration
[HtmlAttributeName("bingMapType")]
public BingMapType BingMapType { get; set; }
Property Value
BubbleSettings
Sets and gets the options for customizing the bubble in maps.
Declaration
[HtmlAttributeName("bubbleSettings")]
public List<MapsBubble> BubbleSettings { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.List<MapsBubble> |
|
DataLabelSettings
Sets and gets the options for customizing the data-label in maps.
Declaration
[HtmlAttributeName("dataLabelSettings")]
public MapsDataLabelSettings DataLabelSettings { get; set; }
Property Value
DataSource
Sets and gets the data source for the layer.
The data source can contain data that can be bound to the tooltip, marker, and bubble.
Declaration
[HtmlAttributeName("dataSource")]
public object DataSource { get; set; }
Property Value
Type |
Description |
System.Object |
|
GeometryType
Sets and gets the geometry type for the layer in maps.
Declaration
[HtmlAttributeName("geometryType")]
public GeometryType GeometryType { get; set; }
Property Value
HighlightSettings
Sets and gets the options for customizing the shapes when the mouse has hovered on maps.
Declaration
[HtmlAttributeName("highlightSettings")]
public MapsHighlightSettings HighlightSettings { get; set; }
Property Value
InitialShapeSelection
Sets and gets the settings for shapes that is selected at the time of rendering.
Declaration
[HtmlAttributeName("initialShapeSelection")]
public List<MapsInitialShapeSelection> InitialShapeSelection { get; set; }
Property Value
IsChild
Declaration
protected override bool IsChild { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Key
Sets and gets the key for the tile map layer in maps.
Declaration
[HtmlAttributeName("key")]
public string Key { get; set; }
Property Value
Type |
Description |
System.String |
|
LayerType
Sets and gets the type of the layer in maps. If we use layer type with shape data property in layer of the maps
then map will render based on the provided layer type.
Declaration
[HtmlAttributeName("layerType")]
public ShapeLayerType LayerType { get; set; }
Property Value
MarkerClusterSettings
Sets and gets the options for customizing the cluster of markers in maps.
Declaration
[HtmlAttributeName("markerClusterSettings")]
public MapsMarkerClusterSettings MarkerClusterSettings { get; set; }
Property Value
MarkerSettings
Sets and gets the options for customizing the marker in maps.
Declaration
[HtmlAttributeName("markerSettings")]
public List<MapsMarker> MarkerSettings { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.List<MapsMarker> |
|
NavigationLineSettings
Sets and gets the options for customizing the navigation line in maps.
Declaration
[HtmlAttributeName("navigationLineSettings")]
public List<MapsNavigationLine> NavigationLineSettings { get; set; }
Property Value
Query
Sets and gets the query to select particular data from the shape data.
This property is applicable only when the data source is created by data manager.
Declaration
[HtmlAttributeName("query")]
public string Query { get; set; }
Property Value
Type |
Description |
System.String |
|
SelectionSettings
Sets and gets the options for customizing the shapes when clicking the shapes in maps.
Declaration
[HtmlAttributeName("selectionSettings")]
public MapsSelectionSettings SelectionSettings { get; set; }
Property Value
ShapeData
Sets and gets the shape data for the maps to render.
Declaration
[HtmlAttributeName("shapeData")]
public object ShapeData { get; set; }
Property Value
Type |
Description |
System.Object |
|
ShapeDataPath
Sets and gets the path for the shape from the shape data in maps.
Declaration
[HtmlAttributeName("shapeDataPath")]
public string ShapeDataPath { get; set; }
Property Value
Type |
Description |
System.String |
|
ShapePropertyPath
Sets and gets the path for the layers from the layer data source in maps.
Declaration
[HtmlAttributeName("shapePropertyPath")]
public object ShapePropertyPath { get; set; }
Property Value
Type |
Description |
System.Object |
|
ShapeSettings
Sets and gets the options to customize the shape of the maps.
Declaration
[HtmlAttributeName("shapeSettings")]
public MapsShapeSettings ShapeSettings { get; set; }
Property Value
StaticMapType
Sets and gets the type of the static maps.
Declaration
[HtmlAttributeName("staticMapType")]
public StaticMapType StaticMapType { get; set; }
Property Value
ToggleLegendSettings
Sets and gets the options for customizing the toggle state of shapes when selecting the legend in maps.
Declaration
[HtmlAttributeName("toggleLegendSettings")]
public object ToggleLegendSettings { get; set; }
Property Value
Type |
Description |
System.Object |
|
Sets and gets the options for customizing the tooltip for the layers, markers, and bubbles in maps.
Declaration
[HtmlAttributeName("tooltipSettings")]
public MapsTooltipSettings TooltipSettings { get; set; }
Property Value
Type
Sets and gets the type of the layer in maps.
Declaration
[HtmlAttributeName("type")]
public Type Type { get; set; }
Property Value
UrlTemplate
Sets and gets the template for the map using the url.
Declaration
[HtmlAttributeName("urlTemplate")]
public string UrlTemplate { get; set; }
Property Value
Type |
Description |
System.String |
|
Visible
Enables or disables the visibility state for the layers in maps.
Declaration
[HtmlAttributeName("visible")]
public bool Visible { get; set; }
Property Value
Type |
Description |
System.Boolean |
|