You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
96 lines
4.2 KiB
96 lines
4.2 KiB
<!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>
|
|
#map_3ef0a52969c54ff8ac70f9cc4748c3bf {
|
|
position: relative;
|
|
width: 100.0%;
|
|
height: 100.0%;
|
|
left: 0.0%;
|
|
top: 0.0%;
|
|
}
|
|
</style>
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<div class="folium-map" id="map_3ef0a52969c54ff8ac70f9cc4748c3bf" ></div>
|
|
|
|
</body>
|
|
<script>
|
|
|
|
var map_3ef0a52969c54ff8ac70f9cc4748c3bf = L.map(
|
|
"map_3ef0a52969c54ff8ac70f9cc4748c3bf",
|
|
{
|
|
center: [52.51619, 13.377693],
|
|
crs: L.CRS.EPSG3857,
|
|
zoom: 13,
|
|
zoomControl: true,
|
|
preferCanvas: false,
|
|
}
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
var tile_layer_3ca208d1acf54213bf1d31ec9500d096 = 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": 18, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}
|
|
).addTo(map_3ef0a52969c54ff8ac70f9cc4748c3bf);
|
|
|
|
|
|
var marker_e15ded27b9a149059fd2c199ba277590 = L.marker(
|
|
[52.487175, 13.364731],
|
|
{}
|
|
).addTo(map_3ef0a52969c54ff8ac70f9cc4748c3bf);
|
|
|
|
|
|
var icon_ae7b0f3ca8a24a5aa89c02613a27ee5b = L.AwesomeMarkers.icon(
|
|
{"extraClasses": "fa-rotate-0", "icon": "cloud", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
|
|
);
|
|
marker_e15ded27b9a149059fd2c199ba277590.setIcon(icon_ae7b0f3ca8a24a5aa89c02613a27ee5b);
|
|
|
|
|
|
var popup_c532ec577baa4a69a2278ac8393307f9 = L.popup({"maxWidth": "100%"});
|
|
|
|
|
|
var html_162a3259d35d4d3c985710cdc2e7e870 = $(`<div id="html_162a3259d35d4d3c985710cdc2e7e870" style="width: 100.0%; height: 100.0%;"><strong>ARTIST_NAME + ARTWORK_TITLE<strong/></div>`)[0];
|
|
popup_c532ec577baa4a69a2278ac8393307f9.setContent(html_162a3259d35d4d3c985710cdc2e7e870);
|
|
|
|
|
|
marker_e15ded27b9a149059fd2c199ba277590.bindPopup(popup_c532ec577baa4a69a2278ac8393307f9)
|
|
;
|
|
|
|
|
|
|
|
|
|
marker_e15ded27b9a149059fd2c199ba277590.bindTooltip(
|
|
`<div>
|
|
ARTIST_NAME_HERE
|
|
</div>`,
|
|
{"sticky": true}
|
|
);
|
|
|
|
</script>
|