leaflet-routing
leaflet-routing copied to clipboard
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 servi...
[LineUtil.Snapping.js](https://github.com/Turistforeningen/leaflet-routing/blob/gh-pages/src/utils/LineUtil.Snapping.js) includes MultiPolyline and MultiPolygon cases, which are removed since Leaflet 1.0: > * Removed MultiPolyline and MultiPolygon classes since multiple rings are now handled by Polyline and Polygon classes...
Hi i need you help... when i try add a new point in the map, the plugin add the layer but not draw the line, like there were no road......
This PR should work. To publish leaflet-routing to npm, run `npm publish` (not tested, but `npm run build` seems ok).
When I add or edit a point along an existing route, the old route remains on the map, but slightly opaque. Not sure why this is happening or how to...
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...
Add method for removing all waypoints and corresponding line-segments. This is useful when a user wants to start over with a fresh canvas.
Document the `options.icons.normal` setting.