valhalla / demos

demos
MIT License
99 stars 57 forks source link

Doesn't work with local Valhalla service #32

Closed ptpt closed 9 years ago

ptpt commented 9 years ago

It seems that by default the demo map connects MapZen's routing service instead of the local Valhalla server. I tried to change the serviceUrl in L.Routing.Valhalla.js to http://localhost:8002/ but it still failed in browsers (tested in Firefox and Chrome) because of the Same Origin Policy (same hostname, but different port).

kevinkreiser commented 9 years ago

this was fixed yesterday by: valhalla/tyr#65, valhalla/odin#100 valhalla/thor#171 valhalla/loki#43. please git fetch; git merge origin/master in: tyr loki thor and odin to get this fix