@nexgen-os/photon
v0.4.2
Published
Photon (OpenStreetMap, search as you type) as a Nexgen OS geocoder.
Readme
@nexgen-os/photon — OpenStreetMap search as you type
Search as you type and reverse geocoding on Photon, worldwide. Source photon. MIT; the data is OpenStreetMap's, under the ODbL. Photon has no country filter on the server: the filter is applied on the answers.
import { photon } from '@nexgen-os/photon';
const geocoder = photon();
const [place] = await geocoder.search('Rue de la Loi 12, Bruxelles');The place is the standard shape of @nexgen-os/core (address, WGS 84 point,
precision, source); placeFields(place) gives the place columns of participants it fills.
Decision 0009.
