Skip to content
Geocoder control for mapbox-gl-js using Mapbox Geocoding API
JavaScript CSS
Branch: master
Clone or download
Latest commit 19e6de9 Jul 10, 2019

README.md

Mapbox GL Geocoder Build Status

A geocoder control for mapbox-gl-js using the Mapbox Geocoding API.

Usage

https://www.mapbox.com/mapbox-gl-js/example/mapbox-gl-geocoder/

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 MapboxGeocoder as its default export, so in browserify or webpack, you can require it like:

var MapboxGeocoder = require('@mapbox/mapbox-gl-geocoder');

Deeper dive

API Documentation

See API.md for complete reference.

Examples

Contributing

See CONTRIBUTING.md.

You can’t perform that action at this time.