Leafdoc generated API reference

GeoJSON

Marker

Methods

Other methods

Method Returns Description
toGeoJSON(<Number> precision?) Object precision is the number of decimal places for coordinates. The default value is 6 places. Returns a GeoJSON representation of the marker (as a GeoJSON Point Feature).