113 lines
5.0 KiB
HTML
113 lines
5.0 KiB
HTML
<!DOCTYPE html>
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
|
|
|
<script>
|
|
L_NO_TOUCH = false;
|
|
L_DISABLE_3D = false;
|
|
</script>
|
|
|
|
<style>html, body {width: 100%;height: 100%;margin: 0;padding: 0;}</style>
|
|
<style>#map {position:absolute;top:0;bottom:0;right:0;left:0;}</style>
|
|
<script src="https://cdn.jsdelivr.net/npm/leaflet@1.6.0/dist/leaflet.js"></script>
|
|
<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
|
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.js"></script>
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/leaflet@1.6.0/dist/leaflet.css"/>
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"/>
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css"/>
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css"/>
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.css"/>
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/python-visualization/folium/folium/templates/leaflet.awesome.rotate.min.css"/>
|
|
|
|
<meta name="viewport" content="width=device-width,
|
|
initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
|
<style>
|
|
#map_9f412d0133c04e4cb11e6432fb576de7 {
|
|
position: relative;
|
|
width: 100.0%;
|
|
height: 100.0%;
|
|
left: 0.0%;
|
|
top: 0.0%;
|
|
}
|
|
</style>
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<div class="folium-map" id="map_9f412d0133c04e4cb11e6432fb576de7" ></div>
|
|
|
|
</body>
|
|
<script>
|
|
|
|
var map_9f412d0133c04e4cb11e6432fb576de7 = L.map(
|
|
"map_9f412d0133c04e4cb11e6432fb576de7",
|
|
{
|
|
center: [46.8132, 8.2242],
|
|
crs: L.CRS.EPSG3857,
|
|
zoom: 7.6,
|
|
zoomControl: true,
|
|
preferCanvas: false,
|
|
}
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
var tile_layer_0592c151fded464b8ea84cfbf78012ee = L.tileLayer(
|
|
"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
|
|
{"attribution": "Data by \u0026copy; \u003ca href=\"http://openstreetmap.org\"\u003eOpenStreetMap\u003c/a\u003e, under \u003ca href=\"http://www.openstreetmap.org/copyright\"\u003eODbL\u003c/a\u003e.", "detectRetina": false, "maxNativeZoom": 12, "maxZoom": 12, "minZoom": 6, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}
|
|
).addTo(map_9f412d0133c04e4cb11e6432fb576de7);
|
|
|
|
|
|
var marker_0c80bf0358324e1c80fd5190416c59f7 = L.marker(
|
|
[46.8132, 8.2242],
|
|
{}
|
|
).addTo(map_9f412d0133c04e4cb11e6432fb576de7);
|
|
|
|
|
|
var icon_1bd7c0a756224987a078c8c7e23ff5d5 = L.AwesomeMarkers.icon(
|
|
{"extraClasses": "fa-rotate-0", "icon": "info-sign", "iconColor": "white", "markerColor": "red", "prefix": "glyphicon"}
|
|
);
|
|
marker_0c80bf0358324e1c80fd5190416c59f7.setIcon(icon_1bd7c0a756224987a078c8c7e23ff5d5);
|
|
|
|
|
|
var popup_86c1972da0984da7b723bf3ab1b48c5a = L.popup({"maxWidth": "100%"});
|
|
|
|
|
|
var html_086c037b7ad040ffb69dd27b6b2c45d3 = $(`<div id="html_086c037b7ad040ffb69dd27b6b2c45d3" style="width: 100.0%; height: 100.0%;">Center of Switzerland</div>`)[0];
|
|
popup_86c1972da0984da7b723bf3ab1b48c5a.setContent(html_086c037b7ad040ffb69dd27b6b2c45d3);
|
|
|
|
|
|
marker_0c80bf0358324e1c80fd5190416c59f7.bindPopup(popup_86c1972da0984da7b723bf3ab1b48c5a)
|
|
;
|
|
|
|
|
|
|
|
|
|
var marker_0f1166d399cc43c480a96ee61f367325 = L.marker(
|
|
[46.11654, 7.445683],
|
|
{}
|
|
).addTo(map_9f412d0133c04e4cb11e6432fb576de7);
|
|
|
|
|
|
var icon_ec0f924a0ff34c2b80aaec432cef3054 = L.AwesomeMarkers.icon(
|
|
{"extraClasses": "fa-rotate-0", "icon": "info-sign", "iconColor": "white", "markerColor": "red", "prefix": "glyphicon"}
|
|
);
|
|
marker_0f1166d399cc43c480a96ee61f367325.setIcon(icon_ec0f924a0ff34c2b80aaec432cef3054);
|
|
|
|
|
|
var popup_f54e4ca89ed0415f824886e7b27d5d9f = L.popup({"maxWidth": "100%"});
|
|
|
|
|
|
var html_5c80b60971604eb6b3a5e3442618c5b3 = $(`<div id="html_5c80b60971604eb6b3a5e3442618c5b3" style="width: 100.0%; height: 100.0%;">Zermatt</div>`)[0];
|
|
popup_f54e4ca89ed0415f824886e7b27d5d9f.setContent(html_5c80b60971604eb6b3a5e3442618c5b3);
|
|
|
|
|
|
marker_0f1166d399cc43c480a96ee61f367325.bindPopup(popup_f54e4ca89ed0415f824886e7b27d5d9f)
|
|
;
|
|
|
|
|
|
|
|
</script> |