We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The routing events documentation here https://github.com/Turistforeningen/leaflet-routing#lrouting-events suggests the events are bound to routing.on() where the code binds them to the map object: https://github.com/Turistforeningen/leaflet-routing/blob/gh-pages/src/L.Routing.Draw.js#L84
Also the documentation says one of the events is "routing:draw-stop" but in the code its "routing:draw-end".
So binding events to the routing object wasn't working, but binding to map does: map.on('routing:draw-end')
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The routing events documentation here
https://github.com/Turistforeningen/leaflet-routing#lrouting-events
suggests the events are bound to routing.on() where the code binds them to the map object:
https://github.com/Turistforeningen/leaflet-routing/blob/gh-pages/src/L.Routing.Draw.js#L84
Also the documentation says one of the events is "routing:draw-stop" but in the code its "routing:draw-end".
So binding events to the routing object wasn't working, but binding to map does:
map.on('routing:draw-end')
The text was updated successfully, but these errors were encountered: