leaflet-gpx icon indicating copy to clipboard operation
leaflet-gpx copied to clipboard

KM markers?

Open samberic opened this issue 5 years ago • 2 comments

Hi, Thanks for your amazing work on this plugin, absolutely fantastic.

Not an issue so much as something I'm trying to figure out; I'd like to display an icon at every km (or mile or whatever). Is this possible at the moment? I know you've already got code to figure out the total distance so I was just wondering if that was made available as each point is plotted? Or if you'd have any tips on how to pull it off (happy to make a PR)

samberic avatar Jul 18 '18 05:07 samberic

@samberic see #65. Unfortunately that PR doesn't merge, but if you feel like picking it up and sending an updated version, I'll definitely review it and see about integrating it!

mpetazzoni avatar Jul 18 '18 21:07 mpetazzoni

There was another pull request that seemed to be working. I was just starting to make something similar as I saw this (#73 ). Was there a reason that this was not merged?

jolbrich avatar Mar 18 '19 20:03 jolbrich