Wondering what’s next for npm?Check out our public roadmap! »

    @christian-nja/geocoding

    1.0.0 • Public • Published

    Simple usage:

    const geocoder = new Geocoder();
    const address_1 = new Address({
        q: "Paris France",
    });
    const address_2 = new Address({
        q: "New York",
    });
    geocoder.resolveCoordinates([address_1, address_2]).then(
        (results) => { console.log(results)
        };

    Pay attention default services may have limitation. To provide new service do:

    import { NodeGeocoder, Geocoder } from "geocoding";
     
    const geocoder = new Geocoder(
        new NodeGeocoder({
            provider: "yourprovider",
        })
    );

    Install

    npm i @christian-nja/geocoding

    DownloadsWeekly Downloads

    0

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    12.7 kB

    Total Files

    13

    Last publish

    Collaborators

    • avatar