Skip to content

Commit

Permalink
Update photon.js
Browse files Browse the repository at this point in the history
Until October 2020 the API was available under photon.komoot.de. New url is photon.komoot.io.
Fixes reverse issue after change
see: perliedman#293
  • Loading branch information
Wire64 authored Oct 26, 2020
1 parent baa68b1 commit eb06780
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/geocoders/photon.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { getJSON } from '../util';

export var Photon = L.Class.extend({
options: {
serviceUrl: 'https://photon.komoot.de/api/',
reverseUrl: 'https://photon.komoot.de/reverse/',
serviceUrl: 'https://photon.komoot.io/api/',
reverseUrl: 'https://photon.komoot.io/reverse/',
nameProperties: ['name', 'street', 'suburb', 'hamlet', 'town', 'city', 'state', 'country']
},

Expand Down

0 comments on commit eb06780

Please sign in to comment.