JavaScript/jQuery VectorMap - Layer Element.Methods
applySettings(settings)
Parameters:
settings:
A configuration object for the element.
The settings object should contain one or more properties to be changed for the layer element. The properties available to change using this method are listed in the layers property description.
Note that you cannot change the dataSource property 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