Search results

LayerDirective API in Angular Maps API component

Layer Directive

<e-layers>
<e-layer></e-layer>
</e-layers>

Properties

animationDuration

any

Sets and gets the duration for the animation of layers in maps.

Defaults to 0

bingMapType

any

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.

Defaults to Aerial

bubbleSettings

any

Sets and gets the options for customizing the bubble in maps.

dataLabelSettings

any

Sets and gets the options for customizing the data-label in maps.

dataSource

any

  • 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.

Defaults to []

geometryType

any

Sets and gets the geometry type for the layer in maps.

Defaults to Geographic

highlightSettings

any

Sets and gets the options for customizing the shapes when the mouse has hovered on maps.

initialShapeSelection

any

Sets and gets the settings for shapes that is selected at the time of rendering.

key

any

Sets and gets the key for the tile map layer in maps.

Defaults to

layerType

any

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.

Defaults to Geometry

markerClusterSettings

any

Sets and gets the options for customizing the cluster of markers in maps.

markerSettings

any

Sets and gets the options for customizing the marker in maps.

Sets and gets the options for customizing the navigation line in maps.

query

any

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.

Defaults to null

selectionSettings

any

Sets and gets the options for customizing the shapes when clicking the shapes in maps.

shapeData

any

Sets and gets the shape data for the maps to render.

Defaults to null

shapeDataPath

any

Sets and gets the path for the shape from the shape data in maps.

Defaults to ‘name’

shapePropertyPath

any

Sets and gets the path for the layers from the layer data source in maps.

Defaults to ‘name’

shapeSettings

any

Sets and gets the options to customize the shape of the maps.

staticMapType

any

Sets and gets the type of the static maps.

Defaults to RoadMap

toggleLegendSettings

any

Sets and gets the options for customizing the toggle state of shapes when selecting the legend in maps.

tooltipSettings

any

Sets and gets the options for customizing the tooltip for the layers, markers, and bubbles in maps.

type

any

Sets and gets the type of the layer in maps.

Defaults to Layer

urlTemplate

any

Sets and gets the template for the map using the url.

Defaults to https://a.tile.openstreetmap.org/level/tileX/tileY.png

visible

any

Enables or disables the visibility state for the layers in maps.

Defaults to true