Customize elevation profile

  • lifeintravel
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 days 14 hours ago #17238 by lifeintravel
Customize elevation profile was created by lifeintravel
Hi Dima,
i'm trying to do some customization in elevation profile of our paths.
I was able to edit some css but i would like to add different informations in the summary, like "total ascent" and "total descent" and "Download" link like in this example coming from the plugin you're using:
raruto.github.io/leaflet-elevation/examp...aflet-elevation.html

but i cannot understand which file i should modify to add that informations and remove someone else (like avg elevation).
I've tried to check here:
/components/com_zhosmmap/tmpl/map/process_path_layers.php and
/components/com_zhosmmap/tmpl/map/process_path.php
with no success
Can you point me to the right place?
Thanks

You can see an example of the map i have here (at the very bottom of the article):
www.lifeintravel.it/viaggi/italia-in-bic...rno-della-paura.html  

Please Log in or Create an account to join the conversation.

More
4 days 12 hours ago - 4 days 12 hours ago #17239 by Dima
Replied by Dima on topic Customize elevation profile
Hi
I think it is not easy to do for it, because it is in
/components/com_zhosmmap/assets/js
there is a file pathparser-min.js
It is minified JS file.
You can try to find .legend to find position, where I start to set options

Don't forget support my developments: post review in JED , donate , help with translation ;)
Last edit: 4 days 12 hours ago by Dima.

Please Log in or Create an account to join the conversation.

Time to create page: 0.353 seconds
Powered by Kunena Forum