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

JavaScript/jQuery VectorMap - Layer.Fields

Fields that provide information on the vector map layer.

elementType

The type of the layer elements.

Type:

String

This property is used only for the marker layer type. The possible marker types are: "dot", "bubble", "pie" and "image".

index

The layer index in the layers array.

Type:

Number

name

The name of the layer.

Type:

String

type

The layer type. Can be "area", "line" or "marker".

Type:

String