/mapbox-gl-nominatim-geocoder

Geocoder control for mapbox-gl-js using the Nominatim Geocoding API

Primary LanguageJavaScriptISC LicenseISC

Mapbox GL Nominatim Geocoder

A geocoder control for mapbox-gl-js using the Nominatim Geocoding API. Based on Mapbox GL Geocoder

This tool has been superseded by the mapbox-gl-generic-geocoder. Please use that tool instead.

Usage

See example/index.js Similar to Mapbox GL Geocoder

Usage with a module bundler

This module exports a single class called MapboxNominatimGeocoder as its default export, so in browserify or webpack, you can require it like:

var MapboxNominatimGeocoder = require('mapbox-gl-nominatim-geocoder');