References

⇠ Go Back

setPoint

setPoint(location, iconType, label = false)

Set a point to create a marker on the map.

Parameters

location - Object

The location object to use for this point.

iconType - String

The icon type to use for this point.

label - String|False

The label to display on the marker. If it is set to false, no label will be displayed.