JavaScript/jQuery VectorMap - Layer Element.Methods
applySettings(settings)
Parameters:
settings:
A configuration object for the element.
The settings object should contain one or more options to be changed for the layer element. The options available to change using this method are listed in the layers option description.
Note that you cannot change the dataSource option for a separate layer element.
attribute(name)
Parameters:
name:
The map marker data source can contain an object of attributes assigned to the attributes field. These attributes can hold any information you require. To obtain the value of an attribute, call the attribute(name) method with the name of the required attribute passed as the parameter.
Feedback