Fixed edit_sar JS
This commit is contained in:
parent
4426c4cae5
commit
c142f67c3e
@ -115,7 +115,9 @@
|
||||
</form>
|
||||
<div id="map"></div>
|
||||
<script>
|
||||
var map = L.map('map').setView([60.19, 20.37], 13); // Default to London, adjust as needed
|
||||
var lon = {{ sar_call.longitude }}
|
||||
var lat = {{ sar_call.latitude }}
|
||||
var map = L.map('map').setView([lat, lon], 13); // Default to London, adjust as needed
|
||||
|
||||
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
|
||||
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
|
||||
|
Loading…
Reference in New Issue
Block a user