Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 787 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 787 Bytes

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

Installation

Package manager

Using the npm package manager:

npm i --save rz-geosearch

Then import it:

import 'rz-geosearch';

You'll then have access to the GeoSearch class namespace.

Precompiled

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.