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 23:01:16 +02:00
|
|
|
#map_800f23ef42b2486c9365a331953c6b9d {
|
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 23:01:16 +02:00
|
|
|
<div class="folium-map" id="map_800f23ef42b2486c9365a331953c6b9d" ></div>
|
2020-09-02 22:39:37 +02:00
|
|
|
|
|
|
|
</body>
|
|
|
|
<script>
|
|
|
|
|
2020-09-02 23:01:16 +02:00
|
|
|
var map_800f23ef42b2486c9365a331953c6b9d = L.map(
|
|
|
|
"map_800f23ef42b2486c9365a331953c6b9d",
|
2020-09-02 22:39:37 +02:00
|
|
|
{
|
2020-09-02 23:01:16 +02:00
|
|
|
center: [52.51619, 13.377693],
|
2020-09-02 22:39:37 +02:00
|
|
|
crs: L.CRS.EPSG3857,
|
2020-09-02 23:01:16 +02:00
|
|
|
zoom: 13,
|
2020-09-02 22:39:37 +02:00
|
|
|
zoomControl: true,
|
|
|
|
preferCanvas: false,
|
|
|
|
}
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-09-02 23:01:16 +02:00
|
|
|
var tile_layer_a2d80cb8330b41349a0223f33625aa01 = 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 23:01:16 +02:00
|
|
|
).addTo(map_800f23ef42b2486c9365a331953c6b9d);
|
2020-09-02 22:39:37 +02:00
|
|
|
|
|
|
|
|
2020-09-02 23:01:16 +02:00
|
|
|
var marker_deefa72b26194f21bcf038a7dcc13975 = L.marker(
|
2020-09-02 22:54:09 +02:00
|
|
|
[52.487175, 13.364731],
|
2020-09-02 22:39:37 +02:00
|
|
|
{}
|
2020-09-02 23:01:16 +02:00
|
|
|
).addTo(map_800f23ef42b2486c9365a331953c6b9d);
|
2020-09-02 22:39:37 +02:00
|
|
|
|
|
|
|
|
2020-09-02 23:01:16 +02:00
|
|
|
var icon_cd8eb8abc975473096904bb63276e054 = 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 23:01:16 +02:00
|
|
|
marker_deefa72b26194f21bcf038a7dcc13975.setIcon(icon_cd8eb8abc975473096904bb63276e054);
|
2020-09-02 22:39:37 +02:00
|
|
|
|
|
|
|
|
2020-09-02 23:01:16 +02:00
|
|
|
var popup_6e040f480948411cb5fec5212343ca9d = L.popup({"maxWidth": "100%"});
|
2020-09-02 22:39:37 +02:00
|
|
|
|
|
|
|
|
2020-09-02 23:01:16 +02:00
|
|
|
var html_20674ff629474a07b3cfc372a04667eb = $(`<div id="html_20674ff629474a07b3cfc372a04667eb" style="width: 100.0%; height: 100.0%;"><strong>ARTIST_NAME + ARTWORK_TITLE<strong/></div>`)[0];
|
|
|
|
popup_6e040f480948411cb5fec5212343ca9d.setContent(html_20674ff629474a07b3cfc372a04667eb);
|
2020-09-02 22:39:37 +02:00
|
|
|
|
|
|
|
|
2020-09-02 23:01:16 +02:00
|
|
|
marker_deefa72b26194f21bcf038a7dcc13975.bindPopup(popup_6e040f480948411cb5fec5212343ca9d)
|
2020-09-02 22:39:37 +02:00
|
|
|
;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-09-02 23:01:16 +02:00
|
|
|
marker_deefa72b26194f21bcf038a7dcc13975.bindTooltip(
|
2020-09-02 22:39:37 +02:00
|
|
|
`<div>
|
2020-09-02 23:01:16 +02:00
|
|
|
ARTIST_NAME_HERE
|
2020-09-02 22:39:37 +02:00
|
|
|
</div>`,
|
|
|
|
{"sticky": true}
|
|
|
|
);
|
|
|
|
|
|
|
|
</script>
|