From a9b074a42bdbace3050d3b6aab22501a271938fe Mon Sep 17 00:00:00 2001 From: vadik likholetov Date: Sat, 2 Dec 2023 13:48:49 +0200 Subject: [PATCH] fixed drawing and saving the circles and circle markers --- templates/sar_details.html | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) 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 @@