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.
yarn add @goongmaps/goong-geocoder
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');
<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"/>
https://docs.goong.io/example/add-a-geocoder/
It is possible to use the plugin without it being placed as a control on a goong-js map. https://docs.goong.io/example/goong-geocoder-without-map/
See API.md for complete reference.