L.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().

v0.1.2249
Props L.Wrld.Prop
Themes L.Wrld.themes
UI Layers L.Marker L.Popup
Heatmaps L.Wrld.Heatmap
Events Event objects
Services (Optional) WrldPoiApi