@goongmaps/goong-geocoder

1.1.1 • Public • Published

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.

Package Sidebar

Install

npm i @goongmaps/goong-geocoder

Homepage

goong.io

Weekly Downloads

204

Version

1.1.1

License

ISC

Unpacked Size

84.4 kB

Total Files

7

Last publish

Collaborators

  • petrhung9
  • buminta