Help us shape the 2021 DevExtreme Roadmap. Take our 5 minute survey.
Dismiss

Methods

Methods used to control the vector map layer.

clearSelection()

Deselects all layer elements.

getDataSource()

Returns the DataSource instance.

Return Value:

DataSource

The DataSource instance.

NOTE
This method returns the DataSource instance even if the dataSource property of the layer was given a simple array.
See Also

getElements()

Gets all layer elements.

Return Value:

Array<Layer Element>

The array of layer elements.