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

JavaScript/jQuery VectorMap Map Elements

This section describes vector map elements.

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.

Layer Element

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

import { MapLayerElement } from "devextreme/viz/vector_map"

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