React VectorMap - Layer

This section describes the Layer object, which represents a vector map layer.

import { VectorMapTypes } from "devextreme-react/vector-map"

The elements described in this section become accessible when you get a layer as a callback function parameter or obtain all the map layers using the getLayers() method.

Fields

Fields that provide information on the vector map layer.

Methods

Methods used to control the vector map layer.

Name Description
clearSelection()

Deselects all layer elements.

getDataSource()

Returns the DataSource instance.

getElements()

Gets all layer elements.