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

4.0 wish list

Open perliedman opened this issue 9 years ago • 8 comments

  • [ ] Make new panel controls addable through API, not using hacks
  • [x] Make geocoder UI completely separate from L.Routing.Plan
  • [x] Organize code more like normal CommonJS/Node.js (see for example MapboxGL)
  • [x] Remove confusion regarding option addWaypoints
  • [x] Make i18n easier and clearer
  • [ ] Better mobile support
  • [ ] Put UI in separate elements, possibly outside the map (#135)
  • [x] Use DocumenationJS or similar for docs
  • [ ] Make it easier to add custom functionality to lines (#117)
  • [ ] Events while dragging (#114)
  • [x] Use delegated events where applicable (itinerary hover/click, for example)
  • [ ] Better builtin error handling / reporting
  • [ ] Use GeoJSON for communicating routes, waypoints, etc., rather than formats only used by LRM
  • [x] Hide control when no geocoder is used and no route is shown (#198)
  • [x] Add waypoints by dragging on the line (broken with Leaflet-master)
  • [ ] Make it possible to maximize/minimize control, as well as hide/show it

perliedman avatar Dec 28 '15 12:12 perliedman

3.0 will be developed on the develop branch.

perliedman avatar Dec 30 '15 12:12 perliedman

Version 3.0 was released to support OSRM's new API, so I've updated the issue title. This ticket is really about "next major revision" of LRM's API.

perliedman avatar Apr 26 '16 07:04 perliedman

Full support for Leaflet v1 is very important.

sourc7 avatar Jun 13 '16 10:06 sourc7

@sourc7 the develop branch has full Leaflet 1.0.0 support, AFAIK. Any help very welcome, though!

perliedman avatar Jun 13 '16 11:06 perliedman

Would it be possible to add some sort of sorting functionality to the waypoint divs? For example, functionality similar to the jquery sortable.

WilliamWalker avatar Sep 12 '16 03:09 WilliamWalker

@WilliamWalker hi there, if you mean making waypoints draggable to rearrange, I'm not likely to include it in the core of LRM. Having said that, it's really easy to add if you use for example Sortable (or maybe jquery sortable, never tried that one).

For an example, look at this issue and scroll down a bit to see some example code: #276

perliedman avatar Sep 12 '16 06:09 perliedman

Perfect, that's exactly what I was looking for. Thanks again!

WilliamWalker avatar Sep 12 '16 20:09 WilliamWalker

Development continues on the typescript branch. Once all the features (and a few more) are implemented, I'll merge those into 4.0 to create a beta release. Also see #637 for details and updates

curtisy1 avatar Nov 16 '21 21:11 curtisy1