Skip to content

Commit

Permalink
Remove Pelias (#190)
Browse files Browse the repository at this point in the history
Remove Pelias
  • Loading branch information
jonataswalker authored Jul 4, 2019
2 parents 3176861 + 1f524bd commit 077ddaa
Show file tree
Hide file tree
Showing 11 changed files with 196 additions and 227 deletions.
3 changes: 1 addition & 2 deletions .env
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
KEY_OPENCAGE=N2VlNTM4MTRmMmIxZjIxYzdjZGM0ZTBhZmNjZDA2MDA=
KEY_MAPZEN=c2VhcmNoLXhORE9ySkU=
KEY_MAPQUEST=NXdMYU1ROVo1NnBWZ0lLcXhoRDJVYU0yQmV0bFI2Vno=
KEY_BING=QWdfVURtbkl4dl9rSXRvOUN2X1NRMU1OeTlhck9JYWpEU0h3TFNaTTI2eFZfb2ZZX0kyd2dSOVJ2NDkyQ0gwZg==
KEY_BING=QW1rZS02eUNGcV9YWC1Fd19DOGktS2paMEZvRXNSTVZFMkQzR1otaVk2cWs1T0NuRVNodk4zakN5SmhkcF84Zg==
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ The plugin supports (for now) the following providers:
* [OSM](http://www.openstreetmap.org/)/[Nominatim](http://wiki.openstreetmap.org/wiki/Nominatim) — `'osm'`.
* [MapQuest Geocoding API](http://open.mapquestapi.com/nominatim/) — requires KEY — `'mapquest'`.
* [Photon](http://photon.komoot.de/) — `'photon'`.
* [Mapzen Search/Pelias](https://mapzen.com/projects/search) — requires KEY — `'pelias'`.
* [Bing](https://msdn.microsoft.com/pt-br/library/ff701713.aspx) — requires KEY — `'bing'`.
* [OpenCage](https://opencagedata.com) — requires KEY — `'opencage'`.

Expand Down
2 changes: 1 addition & 1 deletion examples/control-nominatim.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

//Instantiate with some options and add the Control
var geocoder = new Geocoder('nominatim', {
provider: 'photon',
provider: 'osm',
targetType: 'text-input',
lang: 'en',
placeholder: 'Search for ...',
Expand Down
2 changes: 0 additions & 2 deletions konstants/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,9 @@ export const FEATURE_SRC =
export const PROVIDERS = {
OSM: 'osm',
MAPQUEST: 'mapquest',
GOOGLE: 'google',
PHOTON: 'photon',
BING: 'bing',
OPENCAGE: 'opencage',
PELIAS: 'pelias',
};

export const DEFAULT_OPTIONS = {
Expand Down
Loading

0 comments on commit 077ddaa

Please sign in to comment.