A newer version of this page is available. Switch to the current version.

jQuery VectorMap - Layer

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

import { MapLayer } from "devextreme/viz/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.