mobile support added (now working)

This commit is contained in:
Anton Linus 2020-10-08 18:53:06 +02:00
parent 0f4af5f63c
commit 181c2dec99
15 changed files with 159 additions and 154 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

View File

@ -1 +1 @@
{"data":{"type":"vehicle","id":"fbd739d6-554f-4eaf-bd9c-afe3d501c94b","attributes":{"state":"ACTIVE","lastLocationUpdate":"2020-10-07T17:42:16Z","lastStateChange":"2020-10-07T15:09:13Z","batteryLevel":70,"lat":52.505015,"lng":13.358382,"maxSpeed":20,"zoneId":"BERLIN","code":272581,"iotVendor":"okai","licencePlate":"115MZJ","isRentable":true,"vehicleType":"escooter","hasHelmetBox":true,"hasHelmet":true}}} {"data":{"type":"vehicle","id":"fbd739d6-554f-4eaf-bd9c-afe3d501c94b","attributes":{"state":"ACTIVE","lastLocationUpdate":"2020-10-08T16:45:11Z","lastStateChange":"2020-10-07T15:09:13Z","batteryLevel":59,"lat":52.504926,"lng":13.358061,"maxSpeed":20,"zoneId":"BERLIN","code":272581,"iotVendor":"okai","licencePlate":"115MZJ","isRentable":true,"vehicleType":"escooter","hasHelmetBox":true,"hasHelmet":true}}}

View File

@ -1 +1 @@
{"data":{"type":"vehicle","id":"8732f342-df2f-475f-b0f6-c0032743a944","attributes":{"state":"ACTIVE","lastLocationUpdate":"2020-10-07T17:40:09Z","lastStateChange":"2020-10-05T22:40:24Z","batteryLevel":63,"lat":52.523244,"lng":13.485684,"maxSpeed":20,"zoneId":"BERLIN","code":285124,"iotVendor":"okai","licencePlate":"502MZT","isRentable":true,"vehicleType":"escooter","hasHelmetBox":true,"hasHelmet":false}}} {"data":{"type":"vehicle","id":"8732f342-df2f-475f-b0f6-c0032743a944","attributes":{"state":"ACTIVE","lastLocationUpdate":"2020-10-08T16:43:04Z","lastStateChange":"2020-10-08T13:20:54Z","batteryLevel":52,"lat":52.513734,"lng":13.477419,"maxSpeed":20,"zoneId":"BERLIN","code":285124,"iotVendor":"okai","licencePlate":"502MZT","isRentable":true,"vehicleType":"escooter","hasHelmetBox":true,"hasHelmet":false}}}

View File

@ -1 +1 @@
{"data":{"type":"vehicle","id":"530b66c9-e5f9-47ac-ba31-2e357dc4c735","attributes":{"state":"ACTIVE","lastLocationUpdate":"2020-10-07T17:41:22Z","lastStateChange":"2020-10-06T21:00:11Z","batteryLevel":97,"lat":52.461337,"lng":13.32099,"maxSpeed":20,"zoneId":"BERLIN","code":285232,"iotVendor":"okai","licencePlate":"291MZT","isRentable":true,"vehicleType":"escooter","hasHelmetBox":true,"hasHelmet":false}}} {"data":{"type":"vehicle","id":"530b66c9-e5f9-47ac-ba31-2e357dc4c735","attributes":{"state":"ACTIVE","lastLocationUpdate":"2020-10-08T16:49:40Z","lastStateChange":"2020-10-06T21:00:11Z","batteryLevel":91,"lat":52.461132,"lng":13.321118,"maxSpeed":20,"zoneId":"BERLIN","code":285232,"iotVendor":"okai","licencePlate":"291MZT","isRentable":true,"vehicleType":"escooter","hasHelmetBox":true,"hasHelmet":false}}}

View File

@ -1 +1 @@
{"data":{"type":"vehicle","id":"aa9cedf8-ab8e-4651-8b43-93079179f26a","attributes":{"state":"ACTIVE","lastLocationUpdate":"2020-10-07T17:43:51Z","lastStateChange":"2020-10-06T13:26:05Z","batteryLevel":95,"lat":52.521088,"lng":13.353991,"maxSpeed":20,"zoneId":"BERLIN","code":284748,"iotVendor":"okai","licencePlate":"893MZT","isRentable":true,"vehicleType":"escooter","hasHelmetBox":true,"hasHelmet":false}}} {"data":{"type":"vehicle","id":"aa9cedf8-ab8e-4651-8b43-93079179f26a","attributes":{"state":"ACTIVE","lastLocationUpdate":"2020-10-08T16:42:16Z","lastStateChange":"2020-10-06T13:26:05Z","batteryLevel":52,"lat":52.487742,"lng":13.42546,"maxSpeed":20,"zoneId":"BERLIN","code":284748,"iotVendor":"okai","licencePlate":"893MZT","isRentable":true,"vehicleType":"escooter","hasHelmetBox":true,"hasHelmet":false}}}

View File

@ -1 +1 @@
{"data":{"type":"vehicle","id":"9df16c74-4a88-4f21-acf5-12ba401ca15a","attributes":{"state":"ACTIVE","lastLocationUpdate":"2020-10-07T17:37:53Z","lastStateChange":"2020-10-07T06:37:12Z","batteryLevel":93,"lat":52.478558,"lng":13.419809,"maxSpeed":20,"zoneId":"BERLIN","code":279035,"iotVendor":"okai","licencePlate":"838MZJ","isRentable":true,"vehicleType":"escooter","hasHelmetBox":true,"hasHelmet":false}}} {"data":{"type":"vehicle","id":"9df16c74-4a88-4f21-acf5-12ba401ca15a","attributes":{"state":"ACTIVE","lastLocationUpdate":"2020-10-08T16:43:21Z","lastStateChange":"2020-10-08T10:32:34Z","batteryLevel":100,"lat":52.475104,"lng":13.419081,"maxSpeed":20,"zoneId":"BERLIN","code":279035,"iotVendor":"okai","licencePlate":"838MZJ","isRentable":true,"vehicleType":"escooter","hasHelmetBox":true,"hasHelmet":false}}}

View File

@ -1 +1 @@
{"data":{"type":"vehicle","id":"4763ce60-5b2e-44cf-919e-fffbff26a15e","attributes":{"state":"ACTIVE","lastLocationUpdate":"2020-10-07T17:43:42Z","lastStateChange":"2020-10-06T19:18:09Z","batteryLevel":94,"lat":52.54126,"lng":13.368985,"maxSpeed":20,"zoneId":"BERLIN","code":284002,"iotVendor":"okai","licencePlate":"078MZT","isRentable":true,"vehicleType":"escooter","hasHelmetBox":true,"hasHelmet":false}}} {"data":{"type":"vehicle","id":"4763ce60-5b2e-44cf-919e-fffbff26a15e","attributes":{"state":"ACTIVE","lastLocationUpdate":"2020-10-08T16:46:36Z","lastStateChange":"2020-10-06T19:18:09Z","batteryLevel":87,"lat":52.54126,"lng":13.368985,"maxSpeed":20,"zoneId":"BERLIN","code":284002,"iotVendor":"okai","licencePlate":"078MZT","isRentable":true,"vehicleType":"escooter","hasHelmetBox":true,"hasHelmet":false}}}

View File

@ -1 +1 @@
{"data":{"type":"vehicle","id":"ca884ba2-b0a6-4f3f-b727-fcc33d10182c","attributes":{"state":"ACTIVE","lastLocationUpdate":"2020-10-07T17:37:07Z","lastStateChange":"2020-10-06T20:38:14Z","batteryLevel":95,"lat":52.525817,"lng":13.404346,"maxSpeed":20,"zoneId":"BERLIN","code":279601,"iotVendor":"okai","licencePlate":"359MZW","isRentable":true,"vehicleType":"escooter","hasHelmetBox":true,"hasHelmet":false}}} {"data":{"type":"vehicle","id":"ca884ba2-b0a6-4f3f-b727-fcc33d10182c","attributes":{"state":"ACTIVE","lastLocationUpdate":"2020-10-08T16:50:20Z","lastStateChange":"2020-10-08T07:16:24Z","batteryLevel":89,"lat":52.525817,"lng":13.404346,"maxSpeed":20,"zoneId":"BERLIN","code":279601,"iotVendor":"okai","licencePlate":"359MZW","isRentable":true,"vehicleType":"escooter","hasHelmetBox":true,"hasHelmet":false}}}

View File

@ -1 +1 @@
{"data":{"type":"vehicle","id":"78e9b9f1-0cf1-4415-9301-e2fe01d39bce","attributes":{"state":"INACTIVE","lastLocationUpdate":"2020-10-07T17:38:41Z","lastStateChange":"2020-10-07T17:21:56Z","batteryLevel":9,"lat":52.512429,"lng":13.316471,"maxSpeed":20,"zoneId":"BERLIN","code":283303,"iotVendor":"okai","licencePlate":"147MZT","isRentable":false,"vehicleType":"escooter","hasHelmetBox":true,"hasHelmet":false}}} {"data":{"type":"vehicle","id":"78e9b9f1-0cf1-4415-9301-e2fe01d39bce","attributes":{"state":"ACTIVE","lastLocationUpdate":"2020-10-08T16:49:21Z","lastStateChange":"2020-10-08T00:13:27Z","batteryLevel":97,"lat":52.512428,"lng":13.316365,"maxSpeed":20,"zoneId":"BERLIN","code":283303,"iotVendor":"okai","licencePlate":"147MZT","isRentable":true,"vehicleType":"escooter","hasHelmetBox":true,"hasHelmet":false}}}

View File

@ -1 +1 @@
{"data":{"type":"vehicle","id":"0b939caf-80e9-4d6b-8454-4a7f8eaf088c","attributes":{"state":"ACTIVE","lastLocationUpdate":"2020-10-07T17:41:06Z","lastStateChange":"2020-10-05T19:25:58Z","batteryLevel":83,"lat":52.502256,"lng":13.346028,"maxSpeed":20,"zoneId":"BERLIN","code":284530,"iotVendor":"okai","licencePlate":"963MZT","isRentable":true,"vehicleType":"escooter","hasHelmetBox":true,"hasHelmet":false}}} {"data":{"type":"vehicle","id":"0b939caf-80e9-4d6b-8454-4a7f8eaf088c","attributes":{"state":"ACTIVE","lastLocationUpdate":"2020-10-08T16:48:57Z","lastStateChange":"2020-10-08T10:00:12Z","batteryLevel":75,"lat":52.501228,"lng":13.346171,"maxSpeed":20,"zoneId":"BERLIN","code":284530,"iotVendor":"okai","licencePlate":"963MZT","isRentable":true,"vehicleType":"escooter","hasHelmetBox":true,"hasHelmet":false}}}

View File

@ -1 +1 @@
{"data":{"type":"vehicle","id":"0f7fa267-4bc1-439a-8fd0-43b98b9ffba7","attributes":{"state":"ACTIVE","lastLocationUpdate":"2020-10-07T17:40:51Z","lastStateChange":"2020-10-05T10:49:36Z","batteryLevel":87,"lat":52.516038,"lng":13.294029,"maxSpeed":20,"zoneId":"BERLIN","code":275306,"iotVendor":"okai","licencePlate":"799MZJ","isRentable":true,"vehicleType":"escooter","hasHelmetBox":true,"hasHelmet":false}}} {"data":{"type":"vehicle","id":"0f7fa267-4bc1-439a-8fd0-43b98b9ffba7","attributes":{"state":"ACTIVE","lastLocationUpdate":"2020-10-08T16:43:45Z","lastStateChange":"2020-10-05T10:49:36Z","batteryLevel":78,"lat":52.516198,"lng":13.294055,"maxSpeed":20,"zoneId":"BERLIN","code":275306,"iotVendor":"okai","licencePlate":"799MZJ","isRentable":true,"vehicleType":"escooter","hasHelmetBox":true,"hasHelmet":false}}}

View File

@ -5,48 +5,52 @@ import subprocess
from datetime import datetime from datetime import datetime
from glob import glob from glob import glob
#create map object def application():
m = folium.Map(location=[52.516190, 13.377693], tiles='Stamen Toner',zoom_start=13, zoom_control=False) #create map object
m = folium.Map(location=[52.516190, 13.377693], tiles='Stamen Toner',zoom_start=13, zoom_control=False, max_zoom=25)
#make api request (writes api responses to json) #make api request (writes api responses to json)
subprocess.call(['sh','./scooter_locations.sh']) subprocess.call(['sh','./scooter_locations.sh'])
#import scooter data #import scooter data
scooter_counter = 1 scooter_counter = 1
for file in glob('Scooters/*.json'): for file in glob('Scooters/*.json'):
print ('importing data of scooter nr.' + str(scooter_counter) + '/10') print ('importing data of scooter nr.' + str(scooter_counter) + '/10')
with open(file, 'r') as scooter_location: with open(file, 'r') as scooter_location:
location_data=scooter_location.read() location_data=scooter_location.read()
#print(location_data) #print(location_data)
location_data_json = json.loads(location_data) location_data_json = json.loads(location_data)
#print(location_data_json) #print(location_data_json)
lat = location_data_json['data']['attributes']['lat'] lat = location_data_json['data']['attributes']['lat']
#print(lat) #print(lat)
lng = location_data_json['data']['attributes']['lng'] lng = location_data_json['data']['attributes']['lng']
#print(lng) #print(lng)
print('imported. moving on...') print('imported. moving on...')
#create markers for scooter #create markers for scooter
print('creating marker for scooter nr.' + str(scooter_counter) + '/10') print('creating marker for scooter nr.' + str(scooter_counter) + '/10')
folium.Marker([lat,lng], folium.Marker([lat,lng],
popup='<strong>ARTIST_NAME + ARTWORK_TITLE<strong/>', popup='<strong>ARTIST_NAME + ARTWORK_TITLE<strong/>',
tooltip='ARTIST_NAME_HERE', tooltip='ARTIST_NAME_HERE',
icon=folium.Icon(icon='cloud')).add_to(m) icon=folium.Icon(icon='cloud')).add_to(m)
print('created. moving on...') print('created. moving on...')
scooter_counter = scooter_counter+1 scooter_counter = scooter_counter+1
#generate map.html #generate map.html
m.save('map.html') m.save('map.html')
#adding mobile support #adding mobile support
m.get_root().header.add_child(folium.Element( m.get_root().header.add_child(folium.Element(
'<meta name="viewport" content="width=device-width,' '<meta name="viewport" content="width=device-width,'
' initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />' ' initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />'
)) ))
#saving timestamp
print('generating timestamp') #saving timestamp
with open('datetime.txt', 'w') as timestamp: print('generating timestamp')
timestamp.write(str(datetime.now())) with open('datetime.txt', 'w') as timestamp:
print('finished!') timestamp.write(str(datetime.now()))
print('finished!')
application()

View File

@ -1 +1 @@
2020-10-07 19:44:16.700230 2020-10-08 18:52:12.650105

View File

@ -4,6 +4,7 @@
<head> <head>
<title>Opencoil Speedshow</title> <title>Opencoil Speedshow</title>
<link rel="stylesheet" type="text/css" href="main.css"> <link rel="stylesheet" type="text/css" href="main.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
</head> </head>
<body> <body>

View File

@ -23,7 +23,7 @@
<meta name="viewport" content="width=device-width, <meta name="viewport" content="width=device-width,
initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<style> <style>
#map_b1697a841bdc4418ac139dc0f9ed0291 { #map_4e1d29be42ba44368c278bca1ea9e07d {
position: relative; position: relative;
width: 100.0%; width: 100.0%;
height: 100.0%; height: 100.0%;
@ -35,13 +35,13 @@
</head> </head>
<body> <body>
<div class="folium-map" id="map_b1697a841bdc4418ac139dc0f9ed0291" ></div> <div class="folium-map" id="map_4e1d29be42ba44368c278bca1ea9e07d" ></div>
</body> </body>
<script> <script>
var map_b1697a841bdc4418ac139dc0f9ed0291 = L.map( var map_4e1d29be42ba44368c278bca1ea9e07d = L.map(
"map_b1697a841bdc4418ac139dc0f9ed0291", "map_4e1d29be42ba44368c278bca1ea9e07d",
{ {
center: [52.51619, 13.377693], center: [52.51619, 13.377693],
crs: L.CRS.EPSG3857, crs: L.CRS.EPSG3857,
@ -55,38 +55,38 @@
var tile_layer_6824f5ef29b74cf18735fab112817563 = L.tileLayer( var tile_layer_6ec61bcb257748399cce29a13d651659 = L.tileLayer(
"https://stamen-tiles-{s}.a.ssl.fastly.net/toner/{z}/{x}/{y}.png", "https://stamen-tiles-{s}.a.ssl.fastly.net/toner/{z}/{x}/{y}.png",
{"attribution": "Map tiles by \u003ca href=\"http://stamen.com\"\u003eStamen Design\u003c/a\u003e, under \u003ca href=\"http://creativecommons.org/licenses/by/3.0\"\u003eCC BY 3.0\u003c/a\u003e. 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} {"attribution": "Map tiles by \u003ca href=\"http://stamen.com\"\u003eStamen Design\u003c/a\u003e, under \u003ca href=\"http://creativecommons.org/licenses/by/3.0\"\u003eCC BY 3.0\u003c/a\u003e. 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": 25, "maxZoom": 25, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}
).addTo(map_b1697a841bdc4418ac139dc0f9ed0291); ).addTo(map_4e1d29be42ba44368c278bca1ea9e07d);
var marker_79fb6142190a456faf5cb1294f3aab2e = L.marker( var marker_a82e905f82374fd29e9154bc3ec27251 = L.marker(
[52.521088, 13.353991], [52.487742, 13.42546],
{} {}
).addTo(map_b1697a841bdc4418ac139dc0f9ed0291); ).addTo(map_4e1d29be42ba44368c278bca1ea9e07d);
var icon_2151608f26ea4be49d8c115c869b2e79 = L.AwesomeMarkers.icon( var icon_f7c481bb1b0f492fb963bf92a26743bb = L.AwesomeMarkers.icon(
{"extraClasses": "fa-rotate-0", "icon": "cloud", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"} {"extraClasses": "fa-rotate-0", "icon": "cloud", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
); );
marker_79fb6142190a456faf5cb1294f3aab2e.setIcon(icon_2151608f26ea4be49d8c115c869b2e79); marker_a82e905f82374fd29e9154bc3ec27251.setIcon(icon_f7c481bb1b0f492fb963bf92a26743bb);
var popup_6f7318cd24e0447b9e009b03629f2e9d = L.popup({"maxWidth": "100%"}); var popup_f4982f9f516d43d7abc39b30aa47c646 = L.popup({"maxWidth": "100%"});
var html_49587496b8a94489940c3f08dc5249c6 = $(`<div id="html_49587496b8a94489940c3f08dc5249c6" style="width: 100.0%; height: 100.0%;"><strong>ARTIST_NAME + ARTWORK_TITLE<strong/></div>`)[0]; var html_5528c63c6b074527b047310619eab139 = $(`<div id="html_5528c63c6b074527b047310619eab139" style="width: 100.0%; height: 100.0%;"><strong>ARTIST_NAME + ARTWORK_TITLE<strong/></div>`)[0];
popup_6f7318cd24e0447b9e009b03629f2e9d.setContent(html_49587496b8a94489940c3f08dc5249c6); popup_f4982f9f516d43d7abc39b30aa47c646.setContent(html_5528c63c6b074527b047310619eab139);
marker_79fb6142190a456faf5cb1294f3aab2e.bindPopup(popup_6f7318cd24e0447b9e009b03629f2e9d) marker_a82e905f82374fd29e9154bc3ec27251.bindPopup(popup_f4982f9f516d43d7abc39b30aa47c646)
; ;
marker_79fb6142190a456faf5cb1294f3aab2e.bindTooltip( marker_a82e905f82374fd29e9154bc3ec27251.bindTooltip(
`<div> `<div>
ARTIST_NAME_HERE ARTIST_NAME_HERE
</div>`, </div>`,
@ -94,32 +94,32 @@
); );
var marker_839b710500994168b34f900562508923 = L.marker( var marker_2cf4878c543f40a1ae2069600bcf0022 = L.marker(
[52.461337, 13.32099], [52.461132, 13.321118],
{} {}
).addTo(map_b1697a841bdc4418ac139dc0f9ed0291); ).addTo(map_4e1d29be42ba44368c278bca1ea9e07d);
var icon_6fe64936618a4105b28369b56c05d7eb = L.AwesomeMarkers.icon( var icon_8771625b80c2475289d57e30a632cbda = L.AwesomeMarkers.icon(
{"extraClasses": "fa-rotate-0", "icon": "cloud", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"} {"extraClasses": "fa-rotate-0", "icon": "cloud", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
); );
marker_839b710500994168b34f900562508923.setIcon(icon_6fe64936618a4105b28369b56c05d7eb); marker_2cf4878c543f40a1ae2069600bcf0022.setIcon(icon_8771625b80c2475289d57e30a632cbda);
var popup_a324419e69ee4ef2843c2c8be594f2fa = L.popup({"maxWidth": "100%"}); var popup_762de11017fc4ff7b9dd4df95be8483a = L.popup({"maxWidth": "100%"});
var html_3a6f12119ef74512b351bb8e8a9d2bae = $(`<div id="html_3a6f12119ef74512b351bb8e8a9d2bae" style="width: 100.0%; height: 100.0%;"><strong>ARTIST_NAME + ARTWORK_TITLE<strong/></div>`)[0]; var html_74642e58771a4b65a86693e0c5f21170 = $(`<div id="html_74642e58771a4b65a86693e0c5f21170" style="width: 100.0%; height: 100.0%;"><strong>ARTIST_NAME + ARTWORK_TITLE<strong/></div>`)[0];
popup_a324419e69ee4ef2843c2c8be594f2fa.setContent(html_3a6f12119ef74512b351bb8e8a9d2bae); popup_762de11017fc4ff7b9dd4df95be8483a.setContent(html_74642e58771a4b65a86693e0c5f21170);
marker_839b710500994168b34f900562508923.bindPopup(popup_a324419e69ee4ef2843c2c8be594f2fa) marker_2cf4878c543f40a1ae2069600bcf0022.bindPopup(popup_762de11017fc4ff7b9dd4df95be8483a)
; ;
marker_839b710500994168b34f900562508923.bindTooltip( marker_2cf4878c543f40a1ae2069600bcf0022.bindTooltip(
`<div> `<div>
ARTIST_NAME_HERE ARTIST_NAME_HERE
</div>`, </div>`,
@ -127,32 +127,32 @@
); );
var marker_703163c22dd04b2eb31f6d4e97c530b7 = L.marker( var marker_1ea5e56aa55c4a66857c4b0d67ae351a = L.marker(
[52.54126, 13.368985], [52.54126, 13.368985],
{} {}
).addTo(map_b1697a841bdc4418ac139dc0f9ed0291); ).addTo(map_4e1d29be42ba44368c278bca1ea9e07d);
var icon_2e63feeb116d42f79ec161366fe36aa3 = L.AwesomeMarkers.icon( var icon_df44dfec1572494dbfd32bc9d092a74e = L.AwesomeMarkers.icon(
{"extraClasses": "fa-rotate-0", "icon": "cloud", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"} {"extraClasses": "fa-rotate-0", "icon": "cloud", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
); );
marker_703163c22dd04b2eb31f6d4e97c530b7.setIcon(icon_2e63feeb116d42f79ec161366fe36aa3); marker_1ea5e56aa55c4a66857c4b0d67ae351a.setIcon(icon_df44dfec1572494dbfd32bc9d092a74e);
var popup_48e426e59ac342549c8b94632a51577f = L.popup({"maxWidth": "100%"}); var popup_cab349fe668c4298a056acc36fa13187 = L.popup({"maxWidth": "100%"});
var html_a117cd6f072446b382a5e101fca864c3 = $(`<div id="html_a117cd6f072446b382a5e101fca864c3" style="width: 100.0%; height: 100.0%;"><strong>ARTIST_NAME + ARTWORK_TITLE<strong/></div>`)[0]; var html_7e3aa18349714e998e0dbefe78e1e70d = $(`<div id="html_7e3aa18349714e998e0dbefe78e1e70d" style="width: 100.0%; height: 100.0%;"><strong>ARTIST_NAME + ARTWORK_TITLE<strong/></div>`)[0];
popup_48e426e59ac342549c8b94632a51577f.setContent(html_a117cd6f072446b382a5e101fca864c3); popup_cab349fe668c4298a056acc36fa13187.setContent(html_7e3aa18349714e998e0dbefe78e1e70d);
marker_703163c22dd04b2eb31f6d4e97c530b7.bindPopup(popup_48e426e59ac342549c8b94632a51577f) marker_1ea5e56aa55c4a66857c4b0d67ae351a.bindPopup(popup_cab349fe668c4298a056acc36fa13187)
; ;
marker_703163c22dd04b2eb31f6d4e97c530b7.bindTooltip( marker_1ea5e56aa55c4a66857c4b0d67ae351a.bindTooltip(
`<div> `<div>
ARTIST_NAME_HERE ARTIST_NAME_HERE
</div>`, </div>`,
@ -160,32 +160,32 @@
); );
var marker_b488de1a62094a96b74eda27c92d437e = L.marker( var marker_03751fb961bb4b17a752307eca613206 = L.marker(
[52.516038, 13.294029], [52.516198, 13.294055],
{} {}
).addTo(map_b1697a841bdc4418ac139dc0f9ed0291); ).addTo(map_4e1d29be42ba44368c278bca1ea9e07d);
var icon_d4a176d2be6d4a879f7081e078caef28 = L.AwesomeMarkers.icon( var icon_c5975a8a48d24b1fbd423348fafed175 = L.AwesomeMarkers.icon(
{"extraClasses": "fa-rotate-0", "icon": "cloud", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"} {"extraClasses": "fa-rotate-0", "icon": "cloud", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
); );
marker_b488de1a62094a96b74eda27c92d437e.setIcon(icon_d4a176d2be6d4a879f7081e078caef28); marker_03751fb961bb4b17a752307eca613206.setIcon(icon_c5975a8a48d24b1fbd423348fafed175);
var popup_9faf8b98ba9f47b68af0182d573f0b4b = L.popup({"maxWidth": "100%"}); var popup_90a6e7869a424a71b5d17068e239c2e6 = L.popup({"maxWidth": "100%"});
var html_2ceb0141c41a419eaf71f06e91c98066 = $(`<div id="html_2ceb0141c41a419eaf71f06e91c98066" style="width: 100.0%; height: 100.0%;"><strong>ARTIST_NAME + ARTWORK_TITLE<strong/></div>`)[0]; var html_b958a04aa5d440238b5e4889f4e18324 = $(`<div id="html_b958a04aa5d440238b5e4889f4e18324" style="width: 100.0%; height: 100.0%;"><strong>ARTIST_NAME + ARTWORK_TITLE<strong/></div>`)[0];
popup_9faf8b98ba9f47b68af0182d573f0b4b.setContent(html_2ceb0141c41a419eaf71f06e91c98066); popup_90a6e7869a424a71b5d17068e239c2e6.setContent(html_b958a04aa5d440238b5e4889f4e18324);
marker_b488de1a62094a96b74eda27c92d437e.bindPopup(popup_9faf8b98ba9f47b68af0182d573f0b4b) marker_03751fb961bb4b17a752307eca613206.bindPopup(popup_90a6e7869a424a71b5d17068e239c2e6)
; ;
marker_b488de1a62094a96b74eda27c92d437e.bindTooltip( marker_03751fb961bb4b17a752307eca613206.bindTooltip(
`<div> `<div>
ARTIST_NAME_HERE ARTIST_NAME_HERE
</div>`, </div>`,
@ -193,32 +193,32 @@
); );
var marker_bf2f7218ce664900b5d930253b225266 = L.marker( var marker_ae399b4d42294fa58ccad18c191b67fa = L.marker(
[52.502256, 13.346028], [52.501228, 13.346171],
{} {}
).addTo(map_b1697a841bdc4418ac139dc0f9ed0291); ).addTo(map_4e1d29be42ba44368c278bca1ea9e07d);
var icon_529b87e9a6744d66b7ad8dad20637f30 = L.AwesomeMarkers.icon( var icon_d2fd584f20a04d288ab4a1ae540efaa3 = L.AwesomeMarkers.icon(
{"extraClasses": "fa-rotate-0", "icon": "cloud", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"} {"extraClasses": "fa-rotate-0", "icon": "cloud", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
); );
marker_bf2f7218ce664900b5d930253b225266.setIcon(icon_529b87e9a6744d66b7ad8dad20637f30); marker_ae399b4d42294fa58ccad18c191b67fa.setIcon(icon_d2fd584f20a04d288ab4a1ae540efaa3);
var popup_465fd2e8ec8c46bd859a479d48944cb7 = L.popup({"maxWidth": "100%"}); var popup_ce1353c61eb2449083b9afa7757ca908 = L.popup({"maxWidth": "100%"});
var html_bca84d64f85b4b4493cfb196c2226959 = $(`<div id="html_bca84d64f85b4b4493cfb196c2226959" style="width: 100.0%; height: 100.0%;"><strong>ARTIST_NAME + ARTWORK_TITLE<strong/></div>`)[0]; var html_a0b06115a5264ac4a1eaaaff7f70cb77 = $(`<div id="html_a0b06115a5264ac4a1eaaaff7f70cb77" style="width: 100.0%; height: 100.0%;"><strong>ARTIST_NAME + ARTWORK_TITLE<strong/></div>`)[0];
popup_465fd2e8ec8c46bd859a479d48944cb7.setContent(html_bca84d64f85b4b4493cfb196c2226959); popup_ce1353c61eb2449083b9afa7757ca908.setContent(html_a0b06115a5264ac4a1eaaaff7f70cb77);
marker_bf2f7218ce664900b5d930253b225266.bindPopup(popup_465fd2e8ec8c46bd859a479d48944cb7) marker_ae399b4d42294fa58ccad18c191b67fa.bindPopup(popup_ce1353c61eb2449083b9afa7757ca908)
; ;
marker_bf2f7218ce664900b5d930253b225266.bindTooltip( marker_ae399b4d42294fa58ccad18c191b67fa.bindTooltip(
`<div> `<div>
ARTIST_NAME_HERE ARTIST_NAME_HERE
</div>`, </div>`,
@ -226,32 +226,32 @@
); );
var marker_028a2b3e38744adab8efee93b8a2a4fd = L.marker( var marker_7a0ca69a22e74352bae3e29150b21ad2 = L.marker(
[52.523244, 13.485684], [52.513734, 13.477419],
{} {}
).addTo(map_b1697a841bdc4418ac139dc0f9ed0291); ).addTo(map_4e1d29be42ba44368c278bca1ea9e07d);
var icon_851f323a1e494bb89961582303bb35e9 = L.AwesomeMarkers.icon( var icon_0092cdda3b9f432a984aa41c580da3ec = L.AwesomeMarkers.icon(
{"extraClasses": "fa-rotate-0", "icon": "cloud", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"} {"extraClasses": "fa-rotate-0", "icon": "cloud", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
); );
marker_028a2b3e38744adab8efee93b8a2a4fd.setIcon(icon_851f323a1e494bb89961582303bb35e9); marker_7a0ca69a22e74352bae3e29150b21ad2.setIcon(icon_0092cdda3b9f432a984aa41c580da3ec);
var popup_21ef284a39154a6da3c531ba47ad25ca = L.popup({"maxWidth": "100%"}); var popup_7ef2e0935d2741b08d0bd84bb5b93adb = L.popup({"maxWidth": "100%"});
var html_8c1d5ba5b8b148bda4a7914bd2e2fcc6 = $(`<div id="html_8c1d5ba5b8b148bda4a7914bd2e2fcc6" style="width: 100.0%; height: 100.0%;"><strong>ARTIST_NAME + ARTWORK_TITLE<strong/></div>`)[0]; var html_ce247df3add34ebbab8f9abdc48d00dd = $(`<div id="html_ce247df3add34ebbab8f9abdc48d00dd" style="width: 100.0%; height: 100.0%;"><strong>ARTIST_NAME + ARTWORK_TITLE<strong/></div>`)[0];
popup_21ef284a39154a6da3c531ba47ad25ca.setContent(html_8c1d5ba5b8b148bda4a7914bd2e2fcc6); popup_7ef2e0935d2741b08d0bd84bb5b93adb.setContent(html_ce247df3add34ebbab8f9abdc48d00dd);
marker_028a2b3e38744adab8efee93b8a2a4fd.bindPopup(popup_21ef284a39154a6da3c531ba47ad25ca) marker_7a0ca69a22e74352bae3e29150b21ad2.bindPopup(popup_7ef2e0935d2741b08d0bd84bb5b93adb)
; ;
marker_028a2b3e38744adab8efee93b8a2a4fd.bindTooltip( marker_7a0ca69a22e74352bae3e29150b21ad2.bindTooltip(
`<div> `<div>
ARTIST_NAME_HERE ARTIST_NAME_HERE
</div>`, </div>`,
@ -259,32 +259,32 @@
); );
var marker_0d83cff4fafc4e23b0b18754ab79edfc = L.marker( var marker_72c0293a8e5d42d88ad66b9e48279b0c = L.marker(
[52.478558, 13.419809], [52.475104, 13.419081],
{} {}
).addTo(map_b1697a841bdc4418ac139dc0f9ed0291); ).addTo(map_4e1d29be42ba44368c278bca1ea9e07d);
var icon_829f86f3b19c47959bfd2ee7f14b979d = L.AwesomeMarkers.icon( var icon_2c5b9ff163544f20b648e190f2eff6bf = L.AwesomeMarkers.icon(
{"extraClasses": "fa-rotate-0", "icon": "cloud", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"} {"extraClasses": "fa-rotate-0", "icon": "cloud", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
); );
marker_0d83cff4fafc4e23b0b18754ab79edfc.setIcon(icon_829f86f3b19c47959bfd2ee7f14b979d); marker_72c0293a8e5d42d88ad66b9e48279b0c.setIcon(icon_2c5b9ff163544f20b648e190f2eff6bf);
var popup_a54b01ef8c3946fe8643f82098379055 = L.popup({"maxWidth": "100%"}); var popup_23ec9353101740b1b0e5aacf2ce8fc97 = L.popup({"maxWidth": "100%"});
var html_a6423891542a4cc6b4d8eef28482cb3d = $(`<div id="html_a6423891542a4cc6b4d8eef28482cb3d" style="width: 100.0%; height: 100.0%;"><strong>ARTIST_NAME + ARTWORK_TITLE<strong/></div>`)[0]; var html_932e4e45980e48bb9c206e9690959b98 = $(`<div id="html_932e4e45980e48bb9c206e9690959b98" style="width: 100.0%; height: 100.0%;"><strong>ARTIST_NAME + ARTWORK_TITLE<strong/></div>`)[0];
popup_a54b01ef8c3946fe8643f82098379055.setContent(html_a6423891542a4cc6b4d8eef28482cb3d); popup_23ec9353101740b1b0e5aacf2ce8fc97.setContent(html_932e4e45980e48bb9c206e9690959b98);
marker_0d83cff4fafc4e23b0b18754ab79edfc.bindPopup(popup_a54b01ef8c3946fe8643f82098379055) marker_72c0293a8e5d42d88ad66b9e48279b0c.bindPopup(popup_23ec9353101740b1b0e5aacf2ce8fc97)
; ;
marker_0d83cff4fafc4e23b0b18754ab79edfc.bindTooltip( marker_72c0293a8e5d42d88ad66b9e48279b0c.bindTooltip(
`<div> `<div>
ARTIST_NAME_HERE ARTIST_NAME_HERE
</div>`, </div>`,
@ -292,32 +292,32 @@
); );
var marker_7afdc5c57e3d426eb90de5f899776369 = L.marker( var marker_0e75de1f668740a7a08983d0bfd1acb3 = L.marker(
[52.512429, 13.316471], [52.512428, 13.316365],
{} {}
).addTo(map_b1697a841bdc4418ac139dc0f9ed0291); ).addTo(map_4e1d29be42ba44368c278bca1ea9e07d);
var icon_8a7da631df98476db61b6a3d502ae01a = L.AwesomeMarkers.icon( var icon_f6b2ab967e1740b099907c97991fda46 = L.AwesomeMarkers.icon(
{"extraClasses": "fa-rotate-0", "icon": "cloud", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"} {"extraClasses": "fa-rotate-0", "icon": "cloud", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
); );
marker_7afdc5c57e3d426eb90de5f899776369.setIcon(icon_8a7da631df98476db61b6a3d502ae01a); marker_0e75de1f668740a7a08983d0bfd1acb3.setIcon(icon_f6b2ab967e1740b099907c97991fda46);
var popup_0e1da11516304a9292739529cdbfe03d = L.popup({"maxWidth": "100%"}); var popup_4a6b81d68cd9462cb0a9d5ec6135f662 = L.popup({"maxWidth": "100%"});
var html_8d78af86e2f94207b370ecf2e5651534 = $(`<div id="html_8d78af86e2f94207b370ecf2e5651534" style="width: 100.0%; height: 100.0%;"><strong>ARTIST_NAME + ARTWORK_TITLE<strong/></div>`)[0]; var html_f934b3e33ff54c1191b1262e0aa6c5ab = $(`<div id="html_f934b3e33ff54c1191b1262e0aa6c5ab" style="width: 100.0%; height: 100.0%;"><strong>ARTIST_NAME + ARTWORK_TITLE<strong/></div>`)[0];
popup_0e1da11516304a9292739529cdbfe03d.setContent(html_8d78af86e2f94207b370ecf2e5651534); popup_4a6b81d68cd9462cb0a9d5ec6135f662.setContent(html_f934b3e33ff54c1191b1262e0aa6c5ab);
marker_7afdc5c57e3d426eb90de5f899776369.bindPopup(popup_0e1da11516304a9292739529cdbfe03d) marker_0e75de1f668740a7a08983d0bfd1acb3.bindPopup(popup_4a6b81d68cd9462cb0a9d5ec6135f662)
; ;
marker_7afdc5c57e3d426eb90de5f899776369.bindTooltip( marker_0e75de1f668740a7a08983d0bfd1acb3.bindTooltip(
`<div> `<div>
ARTIST_NAME_HERE ARTIST_NAME_HERE
</div>`, </div>`,
@ -325,32 +325,32 @@
); );
var marker_e4b6d0226741409eaf88c7cc6d16d8c1 = L.marker( var marker_a73c15d24f8b4f7e80be498405cd3664 = L.marker(
[52.525817, 13.404346], [52.525817, 13.404346],
{} {}
).addTo(map_b1697a841bdc4418ac139dc0f9ed0291); ).addTo(map_4e1d29be42ba44368c278bca1ea9e07d);
var icon_6ade22642ec64ce2b7c9e7b16cf06105 = L.AwesomeMarkers.icon( var icon_21d1cf02d2c34ef8a73012fa405bfbb6 = L.AwesomeMarkers.icon(
{"extraClasses": "fa-rotate-0", "icon": "cloud", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"} {"extraClasses": "fa-rotate-0", "icon": "cloud", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
); );
marker_e4b6d0226741409eaf88c7cc6d16d8c1.setIcon(icon_6ade22642ec64ce2b7c9e7b16cf06105); marker_a73c15d24f8b4f7e80be498405cd3664.setIcon(icon_21d1cf02d2c34ef8a73012fa405bfbb6);
var popup_3e260d8d90fe45319ac0ec48d7787317 = L.popup({"maxWidth": "100%"}); var popup_35ac4cf129804e91b13b82496f57cc30 = L.popup({"maxWidth": "100%"});
var html_8fdee151a9744c17bb6f24452823601e = $(`<div id="html_8fdee151a9744c17bb6f24452823601e" style="width: 100.0%; height: 100.0%;"><strong>ARTIST_NAME + ARTWORK_TITLE<strong/></div>`)[0]; var html_047acead13c44f7a8047ccbd18651fb8 = $(`<div id="html_047acead13c44f7a8047ccbd18651fb8" style="width: 100.0%; height: 100.0%;"><strong>ARTIST_NAME + ARTWORK_TITLE<strong/></div>`)[0];
popup_3e260d8d90fe45319ac0ec48d7787317.setContent(html_8fdee151a9744c17bb6f24452823601e); popup_35ac4cf129804e91b13b82496f57cc30.setContent(html_047acead13c44f7a8047ccbd18651fb8);
marker_e4b6d0226741409eaf88c7cc6d16d8c1.bindPopup(popup_3e260d8d90fe45319ac0ec48d7787317) marker_a73c15d24f8b4f7e80be498405cd3664.bindPopup(popup_35ac4cf129804e91b13b82496f57cc30)
; ;
marker_e4b6d0226741409eaf88c7cc6d16d8c1.bindTooltip( marker_a73c15d24f8b4f7e80be498405cd3664.bindTooltip(
`<div> `<div>
ARTIST_NAME_HERE ARTIST_NAME_HERE
</div>`, </div>`,
@ -358,32 +358,32 @@
); );
var marker_4e2e29c054874b54a56438e48415b887 = L.marker( var marker_0d2df863191240c7a0f6929831b68097 = L.marker(
[52.505015, 13.358382], [52.504926, 13.358061],
{} {}
).addTo(map_b1697a841bdc4418ac139dc0f9ed0291); ).addTo(map_4e1d29be42ba44368c278bca1ea9e07d);
var icon_376a899c38d94375b2f73659cb16b3bf = L.AwesomeMarkers.icon( var icon_42671d53ac8d4768bd4637c620642bf4 = L.AwesomeMarkers.icon(
{"extraClasses": "fa-rotate-0", "icon": "cloud", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"} {"extraClasses": "fa-rotate-0", "icon": "cloud", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
); );
marker_4e2e29c054874b54a56438e48415b887.setIcon(icon_376a899c38d94375b2f73659cb16b3bf); marker_0d2df863191240c7a0f6929831b68097.setIcon(icon_42671d53ac8d4768bd4637c620642bf4);
var popup_95e6d9920c6c4db7888501196688e087 = L.popup({"maxWidth": "100%"}); var popup_f9809d683ea5405a868753928ddd10df = L.popup({"maxWidth": "100%"});
var html_6740ba851d5f473cb52b7b5d2b9eeaea = $(`<div id="html_6740ba851d5f473cb52b7b5d2b9eeaea" style="width: 100.0%; height: 100.0%;"><strong>ARTIST_NAME + ARTWORK_TITLE<strong/></div>`)[0]; var html_892adf4f104f465c81843669857738bc = $(`<div id="html_892adf4f104f465c81843669857738bc" style="width: 100.0%; height: 100.0%;"><strong>ARTIST_NAME + ARTWORK_TITLE<strong/></div>`)[0];
popup_95e6d9920c6c4db7888501196688e087.setContent(html_6740ba851d5f473cb52b7b5d2b9eeaea); popup_f9809d683ea5405a868753928ddd10df.setContent(html_892adf4f104f465c81843669857738bc);
marker_4e2e29c054874b54a56438e48415b887.bindPopup(popup_95e6d9920c6c4db7888501196688e087) marker_0d2df863191240c7a0f6929831b68097.bindPopup(popup_f9809d683ea5405a868753928ddd10df)
; ;
marker_4e2e29c054874b54a56438e48415b887.bindTooltip( marker_0d2df863191240c7a0f6929831b68097.bindTooltip(
`<div> `<div>
ARTIST_NAME_HERE ARTIST_NAME_HERE
</div>`, </div>`,