pibinko2
Forum Replies Created
-
ok!
Ah – sorry @hupe13 …yesterday I did some cleanup and removed the test GPX’s so the links I included in my first message are now broken.
I did get the example to work, however…so marking this issue as resolved. thank you for your support!
Forum: Plugins
In reply to: [Leaflet Map] Adding a layer legendthanks – both work!
Forum: Plugins
In reply to: [Leaflet Map] Adding a layer legendhello – this reconnects to my previous posts about GPX tracks…in the Extensions forum I have a series of GPX tracks, and I would like the users to be able to identify the tracks…an option would be via a legend. …otherwise, with the name of the track appearing with a mouse hover o clicking on the track itself…any solution will be fine
thanks!
ok – thanks!
Forum: Plugins
In reply to: [Extensions for Leaflet Map] is it possible to set the color of GPX tracks?ok – I did that…thanks for reminding me about checking the status.
Hello @hupe13 , no I am not using a proxy.
Forum: Plugins
In reply to: [Extensions for Leaflet Map] is it possible to set the color of GPX tracks?Hello – the color issue is solved, thank you!
Concerning the CORS bit, I still have to investigate, or I might see if I can bypass it by keeping files on the same domain.
Forum: Plugins
In reply to: [Extensions for Leaflet Map] is it possible to set the color of GPX tracks?Hello and thanks for writing.
I have tried both…with leaflet-gpx it is actually OK, but I have the limitation that I have to read the src file from the same domain as the wordpress site (while I was considering using github to handle the source files separately)
with elevation, yes, I have checked the backend admin link..this will allow to change the color as a general setting, but my case is that I have a set of GPX tracks, and I would like to separate them in different groups (e.g. group1 = hike trails, group 2= bike trails… and color them accordingly), so i need the color parameter “per layer”.
Thanks!
Andrea
sure…that’s fine. thank you, and apologies for not answering I earlier… I am partly in the field in this period.
Hello and thank you for your feedback – I tried the steps you indicated, but it was still not working.
At that point I tried adding for all layers values for the lat, lng, and name parameters, and with all parameters assigned it works fine (while in your examples they code does not indicate these parameters as mandatory).
so, in any case your suggestion led to a solution – many thanks again!