An open API service indexing awesome lists of open source software.

https://github.com/conormag/firebase-geojson

An RFC7946-compliant library to interchangeably convert between GeoJSON objects and Firestore documents.
https://github.com/conormag/firebase-geojson

Last synced: 5 months ago
JSON representation

An RFC7946-compliant library to interchangeably convert between GeoJSON objects and Firestore documents.

Awesome Lists containing this project

README

          

# firebase-geojson
An [RFC7946](https://tools.ietf.org/html/rfc7946)-compliant library to interchangeably convert between GeoJSON objects and Firestore documents.

## Functions

### geoToDoc()

```geoToDoc(GeoJsonObj, options)```

`options = {precision: }`

-precision (optional) - number of decimal places to trim coordinate values to.