Skip to content

Commit

Permalink
Mapzen Search lives on as Pelias, geocode.earth
Browse files Browse the repository at this point in the history
Fixes #187. Fixes #213.
  • Loading branch information
simon04 committed Sep 1, 2018
1 parent d432362 commit a667012
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The plugin supports many different data providers:
* [MapQuest Geocoding API](http://developer.mapquest.com/web/products/dev-services/geocoding-ws)
* [What3Words](http://what3words.com/)
* [Photon](http://photon.komoot.de/)
* [Mapzen Search](https://mapzen.com/projects/search)
* [Pelias](https://pelias.io/), [geocode.earth](https://geocode.earth/) (formerly Mapzen Search)
* [HERE Geocoder API](https://developer.here.com/documentation/geocoder/topics/introduction.html)

The plugin can easily be extended to support other providers. Current extensions:
Expand Down
2 changes: 1 addition & 1 deletion src/geocoders/mapzen.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { getJSON } from '../util';
export default {
class: L.Class.extend({
options: {
serviceUrl: 'https://search.mapzen.com/v1',
serviceUrl: 'https://api.geocode.earth/v1',
geocodingQueryParams: {},
reverseQueryParams: {}
},
Expand Down
4 changes: 4 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ var Geocoder = L.Util.extend(Control.class, {
Photon: Photon.class,
photon: Photon.factory,
Mapzen: Mapzen.class,
GeocodeEarth: Mapzen.class,
Pelias: Mapzen.class,
mapzen: Mapzen.factory,
geocodeEarth: Mapzen.factory,
pelias: Mapzen.factory,
ArcGis: ArcGis.class,
arcgis: ArcGis.factory,
HERE: HERE.class,
Expand Down

0 comments on commit a667012

Please sign in to comment.