47 lines
1.8 KiB
HTML
47 lines
1.8 KiB
HTML
<!-- Stylesheets -->
|
|
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css"/>
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet.draw/1.0.4/leaflet.draw.css">
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
|
|
<link rel="stylesheet" href="https://unpkg.com/leaflet-control-geocoder@2.4.0/dist/Control.Geocoder.css"/>
|
|
<link rel='stylesheet'
|
|
href='https://api.mapbox.com/mapbox.js/plugins/leaflet-fullscreen/v1.0.1/leaflet.fullscreen.css'/>
|
|
<!-- Scripts -->
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
|
<script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js"></script>
|
|
<script src="https://unpkg.com/leaflet-control-geocoder@2.4.0/dist/Control.Geocoder.js"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet-gpx/1.7.0/gpx.min.js"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet.draw/1.0.4/leaflet.draw.js"></script>
|
|
<script src='https://api.mapbox.com/mapbox.js/plugins/leaflet-fullscreen/v1.0.1/Leaflet.fullscreen.min.js'></script>
|
|
<script src='https://unpkg.com/@turf/turf@6/turf.min.js'></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
|
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
|
|
<script>
|
|
{% include 'togpx.js' %}
|
|
</script>
|
|
|
|
<style>
|
|
#map {
|
|
height: 400px;
|
|
}
|
|
|
|
.button {
|
|
margin: 5px;
|
|
}
|
|
|
|
.comment-text {
|
|
white-space: pre-line;
|
|
}
|
|
|
|
.leaflet-container {
|
|
cursor: crosshair;
|
|
}
|
|
|
|
.circle-icon{
|
|
background: #f03;
|
|
border-radius: 50%;
|
|
color: white;
|
|
padding: 2px 4px;
|
|
text-align: center;
|
|
display: inline-block;
|
|
}
|
|
</style> |