diff --git a/templates/sar_details.html b/templates/sar_details.html index 476fb6b..b6f0fe9 100644 --- a/templates/sar_details.html +++ b/templates/sar_details.html @@ -278,6 +278,7 @@ .catch(error => console.error('Error loading GPX file:', error)); } + var gpxData = {{ gpx_ids | tojson }}; var map = L.map('map').setView([{{ sar.SARCall.latitude }}, {{ sar.SARCall.longitude }}], 13); @@ -434,8 +435,34 @@