You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In your blog post Danfengshan I see two tracks, which are shown and can be downloaded separetly. How does your input GPX file look like to produce this result?
I tried one file with two tracks, but they are shown in the same layer. How can I accomplish to load each in a separate layer?
After further investigation, I found the solution: The different tracks must be in different gpx files and specified in the hugo markdown like so:
{{< gpx "track-1.gpx" "track-2.gpx">}}
An example in your README could be helpful for others. I would prefer a solution, where the user would only need one gpx file with several tracks. But this would be a different implementation breaking the current behaviour.
In your blog post Danfengshan I see two tracks, which are shown and can be downloaded separetly. How does your input GPX file look like to produce this result?
I tried one file with two tracks, but they are shown in the same layer. How can I accomplish to load each in a separate layer?
This is my test file.
I checked the code for layer creation in
gpx.html
:But did not find out, how the
site.params.gpx.layers
array is initialized.The text was updated successfully, but these errors were encountered: