Turistforeningen / leaflet-routing

Leaflet.Routing is a routing controller for the popular Leaflet mapping framework. The module provides an intuitive interface for routing paths between waypoints using any user specified routing service.
http://turistforeningen.github.io/leaflet-routing/examples/osm.html
BSD 2-Clause "Simplified" License
262 stars 67 forks source link

Forward error from router #27

Closed nrenner closed 10 years ago

nrenner commented 10 years ago

Not sure what you had in mind for error handling (see todo's), but here is my proposal to pass router errors to the client/caller (e.g. to display an error message):

Starefossen commented 10 years ago

Looks solid to me. Nice work @nrenner!