Files
randy dd0ad6d845 Show waypoint photos from newer p4n2gpx exports
A newer p4n2gpx run (Ruby rewrite, ~/test/mapping/p4n2gpx) started
emitting one plain GPX <link href> per park4night listing photo,
which this app parsed but never displayed. Gpx.waypoint_photos
collects them into a photos property; the waypoint popup renders them
as a row of thumbnails above the description, each opening full-size
in a new tab. Absent on older exports and plain GPS waypoints, so the
row just doesn't render for those.
2026-09-07 22:38:22 +02:00

29 lines
1.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<gpx version="1.1" creator="test">
<wpt lat="48.1" lon="17.2">
<name>Free spot</name>
<type>Free motorhome area</type>
<extensions>
<osmand:color xmlns:osmand="https://osmand.net">#2E7D32</osmand:color>
<osmand:icon xmlns:osmand="https://osmand.net">tourism_camp_site</osmand:icon>
</extensions>
</wpt>
<wpt lat="48.101" lon="17.201">
<name>Plain waypoint</name>
</wpt>
<wpt lat="48.102" lon="17.202">
<name>p4n2gpx export</name>
<type>Daily parking only</type>
<extensions>
<osmand:color xmlns:osmand="https://osmand.net">#546E7A</osmand:color>
<osmand:icon xmlns:osmand="https://osmand.net">amenity_parking</osmand:icon>
<locus:icon xmlns:locus="http://www.locusmap.eu">res/drawable-hdpi/ic_parking_small.png</locus:icon>
</extensions>
</wpt>
<wpt lat="48.103" lon="17.203">
<name>With photos</name>
<link href="https://cdn3.park4night.com/lieu/1_100/1_gd.jpg"><text>Photo</text></link>
<link href="https://cdn3.park4night.com/lieu/1_100/2_gd.jpg"><text>Photo</text></link>
</wpt>
</gpx>