leafdoc
Version:
A lightweight NaturalDocs-like LeafletJS-style documentation generator
11 lines (8 loc) • 354 B
JavaScript
// @class GeoJSON
// @aka GeoJson
// @namespace Marker
// @section Other methods
// @method toGeoJSON(precision?: Number): Object
// `precision` is the number of decimal places for coordinates.
// The default value is 6 places.
// Returns a [`GeoJSON`](http://en.wikipedia.org/wiki/GeoJSON) representation of the marker (as a GeoJSON `Point` Feature).