How to use the leaflet-control-geocoder/src/geocoders/mapzen.class function in leaflet-control-geocoder

To help you get started, we’ve selected a few leaflet-control-geocoder examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github nextzen / nextzen.js / src / js / components / routing.js View on Github external
geocoder: function (key, options) {
    var params = APIKeyCheck.getKeyAndOptions(key, options);
    return new MapzenControlGeocoder.class(params.key, params.options); // eslint-disable-line
  },
github nextzen / nextzen.js / src / js / components / controlGeocoder.js View on Github external
module.exports.controlGeocoder = function (key, options) {
  var params = APIKeyCheck.getKeyAndOptions(key, options);
  if (!APIKeyCheck.isValidMapzenApiKey(params.key)) {
    APIKeyCheck.throwApiKeyWarning('Search');
  }
  return new MapzenControlGeocoder.class(params.key, params.options); // eslint-disable-line
};

leaflet-control-geocoder

Extendable geocoder with builtin support for OpenStreetMap Nominatim, Bing, Google, Mapbox, MapQuest, What3Words, Photon, Pelias, HERE, Neutrino, Plus codes

BSD-2-Clause
Latest version published 3 years ago

Package Health Score

59 / 100
Full package analysis