julien-nc / gpxpod

Nextcloud app to view gpx track files
GNU Affero General Public License v3.0
40 stars 3 forks source link

New interface (beta) : does not draw tracks #15

Closed tomchiverton closed 1 year ago

tomchiverton commented 1 year ago

Same files in old interface draws tracks on map fine.

julien-nc commented 1 year ago

Can you provide one example file?

tomchiverton commented 1 year ago

Had to rename from .gpx to .txt to trick GitHub into letting me upload : PDW - Wildboarclough via Shutlingsloe walk.TXT

tomchiverton commented 1 year ago

To add some more color "zoom to bounds" works e.g. if I pan or zoom away, this is reset to where the old interface draws the track.

Due to #16 I'm using the OSM raster maps, if it helps.

Here is a screen shot: Screenshot_20230326_185307

raud3rs commented 1 year ago

Hello No maps showed in new interface. https://nextcloud.raud3rs.syncloud.it:10443/apps/gpxpod/s/zWfYayPNAL5S5ej

julien-nc commented 1 year ago

@tomchiverton Thanks for the bug report. Problem was your file contains a route and...routes support was actually not implemented yet. It's been added now and will be included in the next release coming soon. I also added support for waypoints (even with custom symbols like the old UI does).

@raud3rs This is a completely different issue. Next time, please create a new one :grin:. This one is caused by a messy management of the CSP. It's now solved and it should be fine in the next release. Here's a list of the upcoming improvements:

Btw v5.0.7-1-nightly is out. It would be awesome if one of you could try it.

tomchiverton commented 1 year ago

I unpacked that over the top of the version I had from the Nextcloud built in "add app" thing.

My tracks appear in the new GUI now, thanks !

julien-nc commented 1 year ago

Thanks for the feedback!