leaflet-routing icon indicating copy to clipboard operation
leaflet-routing copied to clipboard

OSM demo not working (301 for routing.php)

Open nrenner opened this issue 7 years ago • 1 comments

The OSM demo linked in the project page is not working because the XHR requests for snapping data and routing API fail with a 301 Moved Permanently response for the routing.php, which acts as a proxy for non-CORS enabled services:

http://www2.turistforeningen.no/routing.php?url=http://www.openstreetmap.org/api/0.6/map&bbox=8.615341186523438,61.47371010902601,8.828372955322266,61.52547772030421&1=2

If this is on purpose, there might be an alternative using Overpass API and perhaps GeoJSON Path Finder?

nrenner avatar Jun 03 '17 14:06 nrenner

That server was taken offline not long ago.

Starefossen avatar Jun 03 '17 16:06 Starefossen