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: #293
  • Loading branch information
Wire64 authored and simon04 committed Oct 28, 2020
1 parent 2e0553f commit e4b3082
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/geocoders/photon.js
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 e4b3082

Please sign in to comment.