-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
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
Speed in min / km (running pace) #183
Comments
Hi hupe,
Currently no, but starting from version 2.0.0 I tried to standardize the process that should allow the use of custom extensions (you can check out
The tick size issue is a bit tricky because first you have to understand how d3 works (which is a fairly low level library), however, I would like to point out some of these options that allow you to alter the total number of ticks to show (probably it is also possible to set a predefined width, but I'm not so much versed in this library). For more information you can also start from here:
Have a nice day, |
Thanks very much. I'll take a look at it. |
In version 2.2.0 i added some sample code within the leaflet-elevation_extended-ui.html demo.
leaflet-elevation/examples/leaflet-elevation_extended-ui.html Lines 156 to 219 in 46918ce
However, that function is also present among the built-in handlers (the example is purely demonstrative on how to use your own custom handler), as usual, improved edits and pull requests are always welcome: leaflet-elevation/src/handlers/pace.js Lines 1 to 65 in 46918ce
Have a nice day, |
Hi Raruto,
someone in my forum asks:
There is no option to show the PACE (in min/km) instead of SPEED (in km/h). For runners, an information 12 km/h is nearly useless, we’ll measure with 6:12 min/km. Is it possible, to provide an option for this?
Another question is:
The distance (in elevation chart) is every 2 km. Is it possible to change this? If I can configure this, please give me a hint.
Thank you very much.
The text was updated successfully, but these errors were encountered: