All docs
V20.2
21.1 (CTP)
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

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.