• Resolved aiwetir

    (@aiwetir)


    Is there a way to customize the track color, and border color/width (for gpx track) for my whole site?

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author hupe13

    (@hupe13)

    Yes it is:

    Width of track: https://your-domain.tld/wp-admin/admin.php?page=extensions-leaflet-map&tab=elevation – search “Polyline weight”.

    Color: https://your-domain.tld/wp-admin/admin.php?page=extensions-leaflet-map&tab=elevationtheme

    But changing the color (others than the standard colors of the themes) does not work in this version, there is a bug. Either downgrade, or comment out (with “//”) in /wp-content/plugins/extensions-leaflet-map/php/elevation.php this line:

    map.options.preferCanvas = true;

    I’m sorry, I try to fix this as soon as possible.

    • This reply was modified 1 year ago by hupe13.
    Thread Starter aiwetir

    (@aiwetir)

    I know the track width is set in the settings. I’m looking for the border width and color that’s on the track also.

    Thanks for the track color fix

    Plugin Author hupe13

    (@hupe13)

    There is no such option. Or what do you mean?

    pduval34

    (@pduval34)

    Hello hupee13,

    Sorry, I don’t find the option to downgrade to the oldest version !
    May you help my…
    Thanks.

    Plugin Author hupe13

    (@hupe13)

    pduval34

    (@pduval34)

    Thanks a lot, I do it…..
    I wait for the resolution of the bug…
    Track color over the ruler filter… must be interesting ?
    With your new version (3.5.4.), I do not find how it works and above all, I have lost the color by default of my track…
    My 300 tracks are all grey….
    Good luck !

    Plugin Author hupe13

    (@hupe13)

    The reason of the bug is from solving: “Polyline layer turns black after turning off all legend filters”.

    Plugin Author hupe13

    (@hupe13)

    I opened an issue.

    Track color over the ruler filter… must be interesting ?

    Yes it must be. I you use the magenta or red theme, the color over the ruler filter is similar and you doesn’t see the difference.

    Plugin Author hupe13

    (@hupe13)

    Can you please do a “rollback” to “trunk” and test the new version if it works for you? Thank you very much.

    Plugin Author hupe13

    (@hupe13)

    I released a new version. Does it work for you now?

    Thread Starter aiwetir

    (@aiwetir)

    So back to my original question. The track is green and there is a white border. Is there a place to adjust the color and width of that white border?

    Plugin Author hupe13

    (@hupe13)

    Try custom css:

    .elevation-polyline {
    	filter: none !important;
    }
    Thread Starter aiwetir

    (@aiwetir)

    .elevation-polyline {
        filter:drop-shadow(1px 1px 0 #FFF) drop-shadow(-1px -1px 0 #FFF) drop-shadow(1px -1px 0 #FFF) drop-shadow(-1px 1px 0 #FFF);
    }

    This would be what you would need to change to change the width or color of the border. Thanks

    Plugin Author hupe13

    (@hupe13)

    I don’t have that good css knowledge, thank you very much.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Custom Global Track Color/Border’ is closed to new replies.