Search results

LayerSettingsModel API in React Maps API component

Interface for a class LayerSettings

Properties

animationDuration

number

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

bingMapType

string

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.

bubbleSettings

BubbleSettingsModel[]

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

dataLabelSettings

DataLabelSettingsModel

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

dataSource

Object[] | DataManager | MapAjax

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

geometryType

string

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

highlightSettings

HighlightSettingsModel

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

initialShapeSelection

InitialShapeSelectionSettingsModel[]

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

key

string

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

layerType

string

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.

markerClusterSettings

MarkerClusterSettingsModel

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

markerSettings

MarkerSettingsModel[]

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

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

query

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.

selectionSettings

SelectionSettingsModel

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

shapeData

Object | DataManager | MapAjax

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

shapeDataPath

string

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

shapePropertyPath

string | string[]

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

shapeSettings

ShapeSettingsModel

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

staticMapType

string

Sets and gets the type of the static maps.

toggleLegendSettings

ToggleLegendSettingsModel

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

tooltipSettings

TooltipSettingsModel

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

type

string

Sets and gets the type of the layer in maps.

urlTemplate

string

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

visible

boolean

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