firebase-geojson

0.1.0 • Public • Published

firebase-geojson

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

Functions

geoToDoc()

geoToDoc(GeoJsonObj, options)

options = {precision: <number>}

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

/firebase-geojson/

    Package Sidebar

    Install

    npm i firebase-geojson

    Weekly Downloads

    0

    Version

    0.1.0

    License

    GPL-3.0-or-later

    Unpacked Size

    37.9 kB

    Total Files

    4

    Last publish

    Collaborators

    • conormag