Search results

LayerDirective API in Angular Maps API component

Represents the directive to define the layer of the maps.

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

Properties

animationDuration

any

Gets or sets the duration of the animation of layers when the zooming is performed in maps.

Defaults to 0

bingMapType

any

Gets or sets the Bing map type for the layer. If you set GeoJSON data in the map and set the BingMapType value without setting the layer type as “Bing”, then the map will be rendered based on the provided shape data since the default layer type will be set as “Geometry”.

Defaults to Aerial

bubbleSettings

any

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

dataLabelSettings

any

Gets or sets the options for customizing the data labels in maps.

dataSource

any

Gets or sets the data source for the layer. The data bound to the shapes using data source can be used to display the tooltip, marker, and bubble.

Defaults to []

geometryType

any

Gets or sets the geometry type for the layer in maps. There are two types: Geographic and Normal.

  • Geographic type renders the shape maps with geographical coordinate system.
  • Normal type renders the shape maps using default coordinate system.

Defaults to Geographic

highlightSettings

any

Gets or sets the options for customizing the shapes when the mouse hovers over maps.

initialShapeSelection

any

Gets or sets the settings for the shapes to be selected when the maps rendering initially. The initial selection of shapes will be performed only when the selection functionality of layer is enabled.

key

any

Gets or sets the key for the online map provider to render in the layer of the maps.

Defaults to

layerType

any

Gets or sets 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

Gets or sets the options for customizing the cluster of markers in maps.

markerSettings

any

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

Gets or sets the options for customizing the navigation lines in maps.

polygonSettings

any

Gets or sets the properties of the polygon shapes that will be rendered on a map layer. The selection and highlight settings for polygon shapes can also be defined.

query

any

Gets or sets the query to select particular data from the layer data source. This property is applicable only when the data source is created by data manager.

Defaults to null

selectionSettings

any

Gets or sets the options for customizing the shapes when clicking on the shapes in maps.

shapeData

any

Gets or sets the data for the maps to render. The data is normally JSON object with GeoJSON format that defines the shapes and geometries of the map.

Defaults to null

shapeDataPath

any

Gets or sets the field name from the GeoJSON data to map the shape to the data defined in the layer data source.

Defaults to ‘name’

shapePropertyPath

any

Gets or sets the field name from the data source to map the shape to the data defined in the layer data source.

Defaults to ‘name’

shapeSettings

any

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

staticMapType

any

Gets or sets the type of the static maps.

Defaults to RoadMap

toggleLegendSettings

any

Gets or sets the options for customizing the toggle state of shapes when selecting the legend in maps.

tooltipSettings

any

Gets or sets the options for customizing the tooltip of the layers in maps.

type

any

Gets or sets the type of the layer in maps. There are two types: Layer and SubLayer.

Defaults to Layer

urlTemplate

any

Gets or sets the URL of the online map providers. The online map providers will be rendered only when the shape data is not set and layer type is set with default value.

Defaults to

visible

any

Enables or disables the visibility of the layers in maps.

Defaults to true