@goongmaps/goong-geocoder
v1.1.1
Published
A geocoder control for Goong JS
Downloads
331
Readme
Goong Geocoder
A geocoder control for goong-js using the Goong Places API.
If you are supporting older browsers, you will need a Promise polyfill. es6-promise is a good one, if you're uncertain.
Usage with a module bundler
This module exports a single class called GoongGeocoder as its default export, so in browserify or webpack, you can require it like:
var GoongGeocoder = require('@goongmaps/goong-geocoder');
Using with CDN
<script src='https://cdn.jsdelivr.net/npm/@goongmaps/goong-geocoder/dist/goong-geocoder.min.js'></script>
<link href="https://cdn.jsdelivr.net/npm/@goongmaps/goong-geocoder/dist/goong-geocoder.css" rel="stylesheet" type="text/css"/>
Examples
Using within Map
https://docs.goong.io/docs/example/add-a-geocoder/
Using without a Map
It is possible to use the plugin without it being placed as a control on a goong-js map. https://docs.goong.io/docs/example/goong-geocoder-without-map/
Deeper dive
API Documentation
See API.md for complete reference.