Class MapsLayerBuilder
Inheritance
System.Object
MapsLayerBuilder
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 MapsLayerBuilder : ControlBuilder
Constructors
MapsLayerBuilder()
Declaration
public MapsLayerBuilder()
MapsLayerBuilder(List<MapsLayer>)
Declaration
public MapsLayerBuilder(List<MapsLayer> collection)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<MapsLayer> |
collection |
|
Methods
Add()
Declaration
AnimationDuration(Double)
Sets and gets the duration for the animation of layers in maps.
Declaration
public MapsLayerBuilder AnimationDuration(double animationDuration)
Parameters
Type |
Name |
Description |
System.Double |
animationDuration |
|
Returns
BingMapType(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
public MapsLayerBuilder BingMapType(BingMapType bingMapType)
Parameters
Returns
BubbleSettings(Action<MapsBubbleBuilder>)
Declaration
public MapsLayerBuilder BubbleSettings(Action<MapsBubbleBuilder> bubbleSettings)
Parameters
Returns
BubbleSettings(List<MapsBubble>)
Sets and gets the options for customizing the bubble in maps.
Declaration
public MapsLayerBuilder BubbleSettings(List<MapsBubble> bubbleSettings)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<MapsBubble> |
bubbleSettings |
|
Returns
DataLabelSettings(MapsDataLabelSettings)
Sets and gets the options for customizing the data-label in maps.
Declaration
public MapsLayerBuilder DataLabelSettings(MapsDataLabelSettings dataLabelSettings)
Parameters
Returns
DataLabelSettings(Action<MapsDataLabelSettingsBuilder>)
Declaration
public MapsLayerBuilder DataLabelSettings(Action<MapsDataLabelSettingsBuilder> dataLabelSettings)
Parameters
Returns
DataSource(Action<DataManagerBuilder>)
Declaration
public MapsLayerBuilder DataSource(Action<DataManagerBuilder> dataSource)
Parameters
Returns
DataSource(Object)
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
public MapsLayerBuilder DataSource(object dataSource)
Parameters
Type |
Name |
Description |
System.Object |
dataSource |
|
Returns
GeometryType(GeometryType)
Sets and gets the geometry type for the layer in maps.
Declaration
public MapsLayerBuilder GeometryType(GeometryType geometryType)
Parameters
Returns
HighlightSettings(MapsHighlightSettings)
Sets and gets the options for customizing the shapes when the mouse has hovered on maps.
Declaration
public MapsLayerBuilder HighlightSettings(MapsHighlightSettings highlightSettings)
Parameters
Returns
HighlightSettings(Action<MapsHighlightSettingsBuilder>)
Declaration
public MapsLayerBuilder HighlightSettings(Action<MapsHighlightSettingsBuilder> highlightSettings)
Parameters
Returns
InitialShapeSelection(Action<MapsInitialShapeSelectionBuilder>)
Declaration
public MapsLayerBuilder InitialShapeSelection(Action<MapsInitialShapeSelectionBuilder> initialShapeSelection)
Parameters
Returns
InitialShapeSelection(List<MapsInitialShapeSelection>)
Sets and gets the settings for shapes that is selected at the time of rendering.
Declaration
public MapsLayerBuilder InitialShapeSelection(List<MapsInitialShapeSelection> initialShapeSelection)
Parameters
Returns
Key(String)
Sets and gets the key for the tile map layer in maps.
Declaration
public MapsLayerBuilder Key(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
LayerType(ShapeLayerType)
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
public MapsLayerBuilder LayerType(ShapeLayerType layerType)
Parameters
Returns
MarkerClusterSettings(MapsMarkerClusterSettings)
Sets and gets the options for customizing the cluster of markers in maps.
Declaration
public MapsLayerBuilder MarkerClusterSettings(MapsMarkerClusterSettings markerClusterSettings)
Parameters
Returns
MarkerClusterSettings(Action<MapsMarkerClusterSettingsBuilder>)
Declaration
public MapsLayerBuilder MarkerClusterSettings(Action<MapsMarkerClusterSettingsBuilder> markerClusterSettings)
Parameters
Returns
MarkerSettings(Action<MapsMarkerBuilder>)
Declaration
public MapsLayerBuilder MarkerSettings(Action<MapsMarkerBuilder> markerSettings)
Parameters
Returns
MarkerSettings(List<MapsMarker>)
Sets and gets the options for customizing the marker in maps.
Declaration
public MapsLayerBuilder MarkerSettings(List<MapsMarker> markerSettings)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<MapsMarker> |
markerSettings |
|
Returns
NavigationLineSettings(Action<MapsNavigationLineBuilder>)
Declaration
public MapsLayerBuilder NavigationLineSettings(Action<MapsNavigationLineBuilder> navigationLineSettings)
Parameters
Returns
NavigationLineSettings(List<MapsNavigationLine>)
Sets and gets the options for customizing the navigation line in maps.
Declaration
public MapsLayerBuilder NavigationLineSettings(List<MapsNavigationLine> navigationLineSettings)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<MapsNavigationLine> |
navigationLineSettings |
|
Returns
Query(String)
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
public MapsLayerBuilder Query(string query)
Parameters
Type |
Name |
Description |
System.String |
query |
|
Returns
SelectionSettings(MapsSelectionSettings)
Sets and gets the options for customizing the shapes when clicking the shapes in maps.
Declaration
public MapsLayerBuilder SelectionSettings(MapsSelectionSettings selectionSettings)
Parameters
Returns
SelectionSettings(Action<MapsSelectionSettingsBuilder>)
Declaration
public MapsLayerBuilder SelectionSettings(Action<MapsSelectionSettingsBuilder> selectionSettings)
Parameters
Returns
ShapeData(Object)
Sets and gets the shape data for the maps to render.
Declaration
public MapsLayerBuilder ShapeData(object shapeData)
Parameters
Type |
Name |
Description |
System.Object |
shapeData |
|
Returns
ShapeDataPath(String)
Sets and gets the path for the shape from the shape data in maps.
Declaration
public MapsLayerBuilder ShapeDataPath(string shapeDataPath)
Parameters
Type |
Name |
Description |
System.String |
shapeDataPath |
|
Returns
ShapePropertyPath(Object)
Sets and gets the path for the layers from the layer data source in maps.
Declaration
public MapsLayerBuilder ShapePropertyPath(object shapePropertyPath)
Parameters
Type |
Name |
Description |
System.Object |
shapePropertyPath |
|
Returns
ShapePropertyPath(String)
Sets and gets the path for the layers from the layer data source in maps.
Declaration
public MapsLayerBuilder ShapePropertyPath(string shapePropertyPath)
Parameters
Type |
Name |
Description |
System.String |
shapePropertyPath |
|
Returns
ShapePropertyPath(String[])
Sets and gets the path for the layers from the layer data source in maps.
Declaration
public MapsLayerBuilder ShapePropertyPath(string[] shapePropertyPath)
Parameters
Type |
Name |
Description |
System.String[] |
shapePropertyPath |
|
Returns
ShapeSettings(MapsShapeSettings)
Sets and gets the options to customize the shape of the maps.
Declaration
public MapsLayerBuilder ShapeSettings(MapsShapeSettings shapeSettings)
Parameters
Returns
ShapeSettings(Action<MapsShapeSettingsBuilder>)
Declaration
public MapsLayerBuilder ShapeSettings(Action<MapsShapeSettingsBuilder> shapeSettings)
Parameters
Returns
StaticMapType(StaticMapType)
Sets and gets the type of the static maps.
Declaration
public MapsLayerBuilder StaticMapType(StaticMapType staticMapType)
Parameters
Returns
ToggleLegendSettings(Object)
Sets and gets the options for customizing the toggle state of shapes when selecting the legend in maps.
Declaration
public MapsLayerBuilder ToggleLegendSettings(object toggleLegendSettings)
Parameters
Type |
Name |
Description |
System.Object |
toggleLegendSettings |
|
Returns
Sets and gets the options for customizing the tooltip for the layers, markers, and bubbles in maps.
Declaration
public MapsLayerBuilder TooltipSettings(MapsTooltipSettings tooltipSettings)
Parameters
Returns
Declaration
public MapsLayerBuilder TooltipSettings(Action<MapsTooltipSettingsBuilder> tooltipSettings)
Parameters
Returns
Type(Type)
Sets and gets the type of the layer in maps.
Declaration
public MapsLayerBuilder Type(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
UrlTemplate(String)
Sets and gets the template for the map using the url.
Declaration
public MapsLayerBuilder UrlTemplate(string urlTemplate)
Parameters
Type |
Name |
Description |
System.String |
urlTemplate |
|
Returns
Visible(Boolean)
Enables or disables the visibility state for the layers in maps.
Declaration
public MapsLayerBuilder Visible(bool visible)
Parameters
Type |
Name |
Description |
System.Boolean |
visible |
|
Returns