Closed IanMayo closed 2 years ago
I wonder how to active this drawing tool @IanMayo ?
There isn't a drawing tool in Serge at the moment. That will be one of your next tasks, as we integrate leaflet-geoman
okay, so I think we should complete this task first 😄
Yes. The top screenshot was taken using the GeoMan demo page.
If you can integrate the correct lib, and get a line on the map with arrows, I can integrate it with the relevant code. I Think that will be in plan mapping orders (or something like that).
I think it done by #1862
One day ( #1863 ) players will add lines to mark transit routes in orders. But - the direction isn't clear:
This library can decorate lines with icons or arrows:
Note: here is an article on a react implementation, but @IanMayo couldn't get the code to work: https://stackoverflow.com/questions/57143284/how-to-use-leaflet-polylinedecorator-in-react-16-4-1