opencoil-paracity/website/map.html

96 lines
4.2 KiB
HTML
Raw Normal View History

2020-09-02 22:39:37 +02:00
<!DOCTYPE html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script>
L_NO_TOUCH = false;
L_DISABLE_3D = false;
</script>
<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://rawcdn.githack.com/python-visualization/folium/master/folium/templates/leaflet.awesome.rotate.css"/>
<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>
<meta name="viewport" content="width=device-width,
initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<style>
2020-09-02 22:54:09 +02:00
#map_cb793048355a4c4b8a0ff7cbba37c3a4 {
2020-09-02 22:39:37 +02:00
position: relative;
width: 100.0%;
height: 100.0%;
left: 0.0%;
top: 0.0%;
}
</style>
</head>
<body>
2020-09-02 22:54:09 +02:00
<div class="folium-map" id="map_cb793048355a4c4b8a0ff7cbba37c3a4" ></div>
2020-09-02 22:39:37 +02:00
</body>
<script>
2020-09-02 22:54:09 +02:00
var map_cb793048355a4c4b8a0ff7cbba37c3a4 = L.map(
"map_cb793048355a4c4b8a0ff7cbba37c3a4",
2020-09-02 22:39:37 +02:00
{
2020-09-02 22:54:09 +02:00
center: [52.487175, 13.364731],
2020-09-02 22:39:37 +02:00
crs: L.CRS.EPSG3857,
zoom: 15,
zoomControl: true,
preferCanvas: false,
}
);
2020-09-02 22:54:09 +02:00
var tile_layer_461179e7827a4cdd866fb89391f23aae = L.tileLayer(
2020-09-02 22:39:37 +02:00
"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": 18, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}
2020-09-02 22:54:09 +02:00
).addTo(map_cb793048355a4c4b8a0ff7cbba37c3a4);
2020-09-02 22:39:37 +02:00
2020-09-02 22:54:09 +02:00
var marker_725f832c88be4e7ba9adf6b631864300 = L.marker(
[52.487175, 13.364731],
2020-09-02 22:39:37 +02:00
{}
2020-09-02 22:54:09 +02:00
).addTo(map_cb793048355a4c4b8a0ff7cbba37c3a4);
2020-09-02 22:39:37 +02:00
2020-09-02 22:54:09 +02:00
var icon_b90652a1cbcf4c01b0ac2f7622ce47a7 = L.AwesomeMarkers.icon(
2020-09-02 22:39:37 +02:00
{"extraClasses": "fa-rotate-0", "icon": "cloud", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
);
2020-09-02 22:54:09 +02:00
marker_725f832c88be4e7ba9adf6b631864300.setIcon(icon_b90652a1cbcf4c01b0ac2f7622ce47a7);
2020-09-02 22:39:37 +02:00
2020-09-02 22:54:09 +02:00
var popup_a5bf051e2cf84f81963121ee6d794ec4 = L.popup({"maxWidth": "100%"});
2020-09-02 22:39:37 +02:00
2020-09-02 22:54:09 +02:00
var html_4524f3e131a84784ade2d8469abf57bc = $(`<div id="html_4524f3e131a84784ade2d8469abf57bc" style="width: 100.0%; height: 100.0%;"><strong>Berghain<strong/></div>`)[0];
popup_a5bf051e2cf84f81963121ee6d794ec4.setContent(html_4524f3e131a84784ade2d8469abf57bc);
2020-09-02 22:39:37 +02:00
2020-09-02 22:54:09 +02:00
marker_725f832c88be4e7ba9adf6b631864300.bindPopup(popup_a5bf051e2cf84f81963121ee6d794ec4)
2020-09-02 22:39:37 +02:00
;
2020-09-02 22:54:09 +02:00
marker_725f832c88be4e7ba9adf6b631864300.bindTooltip(
2020-09-02 22:39:37 +02:00
`<div>
ja was isch jetzt aus des?
</div>`,
{"sticky": true}
);
</script>