• Resolved Argentum

    (@argentum)


    Hi,
    I am trying to translate ‘Altitude’, ‘Max Elevation’, ‘Min Elevation’ and ‘Total Length’ on the elevation curve graphics. I go about as I usually do, by installing Loco Translate and adding my language. Should it be possible to translate the mentioned attributes? My translations doesn’t show.

    • This topic was modified 2 years, 8 months ago by Argentum.
Viewing 10 replies - 16 through 25 (of 25 total)
  • Thread Starter Argentum

    (@argentum)

    But in your example you get two tracks, the gray one is the one which elevation curve is shown and that one only is interactive. The orange track is hoverable but it doesn’t do anything besides being orange.

    • This reply was modified 2 years, 7 months ago by Argentum.
    Plugin Author hupe13

    (@hupe13)

    Then I have misunderstood you. Or would you like this one: multielevation?
    https://leafext.de/en/multielevation/dokumentation/

    Thread Starter Argentum

    (@argentum)

    Sorry, I should have explained better. What I want is
    use a gpx-file to on one web page show a track on a map where I can set the track color to a hex value. And below that map/track, an elevation graph in any decent color showing the elevation curve for the same gpx file.

    Plugin Author hupe13

    (@hupe13)

    The author of the leaflet-elevation plugin has defined some themes. But you can use your own theme. I have this documented in the backend: /wp-admin/admin.php?page=extensions-leaflet-map&tab=elevationtheme . But there I find the next error, the url to the ccs file is not correct: https://unpkg.com/@raruto/[email protected]/dist/leaflet-elevation.css

    Example in use

    Thread Starter Argentum

    (@argentum)

    Right, I looked at the own theme description, but that wouldn’t work in my case since there is appr. 12 tracks with their own colors.

    But I actually found a css solution. I identify the page id and use

    .elementor-4326 .lime-theme.elevation-polyline {
        stroke: #f15a22;
    }

    I’ll have to add css for the other 11 track colors, but it will work!

    Thank you for your help and patience!

    Plugin Author hupe13

    (@hupe13)

    Do you have a link for me, when you are ready?

    Thread Starter Argentum

    (@argentum)

    Ouch, pardon! I missed your answer. Do you want the po and mo file for the frontend translation?

    https://drive.google.com/file/d/1sXoANcT4YH74OibmqwxlLAZGPm0V_FAN/view?usp=sharing

    Plugin Author hupe13

    (@hupe13)

    Do you want the po and mo file for the frontend translation?

    Thank you very much.

    Do you have a link for me, when you are ready?

    I was thinking here of a link to the public webpage with the tracks. Only if you like.

    Thread Starter Argentum

    (@argentum)

    A link to the webpage, I have to say no to that. It’s a Swedish page with a very particular purpose: showing crosscountry tracks at a resort, and I honestly don’t want traffic from people that isn’t interested in what the page actually is about. Not to mention adding the risk of shady people “finding” the link. I can privately send you the link if you are interested in seeing the nice elevation curves? ??

    Plugin Author hupe13

    (@hupe13)

    I can privately send you the link if you are interested in seeing the nice elevation curves?

    I am very interested to see what you can do with my plugin. ??
    See the mail address at the bottom.

Viewing 10 replies - 16 through 25 (of 25 total)
  • The topic ‘Translate attributes on elevation curve’ is closed to new replies.