Provides name, postal code, and NTS location based searching within Canada, using GeoGratis as the backend provider.
It can be configured to return only certain types of results like provinces or cities, filter catagories, sort results, and can be used in English or French.
See our documentation for all the details
Using the npm package manager:
npm i --save rz-geosearchThen import it:
import 'rz-geosearch';You'll then have access to the GeoSearch class namespace.
This repo contains a precompiled file located at src/geosearch.js which can be included in a script tag on your page. A global window object named GeoSearch will be created.