Wrld.map.props

Methods

map.props.addProps(propArray)

Argument Type Description
propArray array of Prop An array of props to be added to the map.

Adds the supplied array of props to the map. For individual props, prefer to use prop.addTo(map).

map.props.removeProps(propArray)

Argument Type Description
propArray array of Prop An array of props to be removed from the map.

Removes the supplied array of props from the map. For individual props, prefer to use prop.remove().

v1.1.0
Props Wrld.Prop
Themes Wrld.themes
Heatmaps Wrld.Heatmap
Events Event objects
Services (Optional) WrldPoiApi