lots of stuff regarding website plus insta
BIN
insta/1.jpg
Normal file
After Width: | Height: | Size: 66 KiB |
BIN
insta/2.jpg
Normal file
After Width: | Height: | Size: 114 KiB |
BIN
insta/3.jpg
Normal file
After Width: | Height: | Size: 80 KiB |
BIN
insta/4.jpg
Normal file
After Width: | Height: | Size: 100 KiB |
BIN
insta/5.jpg
Normal file
After Width: | Height: | Size: 220 KiB |
BIN
insta/6.jpg
Normal file
After Width: | Height: | Size: 103 KiB |
BIN
insta/7.jpg
Normal file
After Width: | Height: | Size: 64 KiB |
BIN
insta/8.jpg
Normal file
After Width: | Height: | Size: 98 KiB |
BIN
insta/9.jpg
Normal file
After Width: | Height: | Size: 53 KiB |
BIN
insta/instagrid.psd
Normal file
@ -1 +0,0 @@
|
||||
{"data":{"type":"vehicle","id":"f6f55778-9339-4f81-8584-7645f3a6c4be","attributes":{"state":"ACTIVE","lastLocationUpdate":"2020-09-02T20:22:04Z","lastStateChange":"2020-09-01T12:50:06Z","batteryLevel":98,"lat":52.487175,"lng":13.364731,"maxSpeed":20,"zoneId":"BERLIN","code":239365,"iotVendor":"okai","licencePlate":"580WUL","isRentable":true,"vehicleType":"escooter","hasHelmetBox":false,"hasHelmet":false}}}
|
BIN
website/OPENCOIL_Preview.png
Normal file
After Width: | Height: | Size: 63 KiB |
1
website/Scooters/scooter1.json
Normal file
@ -0,0 +1 @@
|
||||
{"data":{"type":"vehicle","id":"fbd739d6-554f-4eaf-bd9c-afe3d501c94b","attributes":{"state":"ACTIVE","lastLocationUpdate":"2020-10-07T16:54:28Z","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}}}
|
1
website/Scooters/scooter10.json
Normal file
@ -0,0 +1 @@
|
||||
{"data":{"type":"vehicle","id":"8732f342-df2f-475f-b0f6-c0032743a944","attributes":{"state":"ACTIVE","lastLocationUpdate":"2020-10-07T17:00:21Z","lastStateChange":"2020-10-05T22:40:24Z","batteryLevel":63,"lat":52.523263,"lng":13.485609,"maxSpeed":20,"zoneId":"BERLIN","code":285124,"iotVendor":"okai","licencePlate":"502MZT","isRentable":true,"vehicleType":"escooter","hasHelmetBox":true,"hasHelmet":false}}}
|
1
website/Scooters/scooter2.json
Normal file
@ -0,0 +1 @@
|
||||
{"data":{"type":"vehicle","id":"530b66c9-e5f9-47ac-ba31-2e357dc4c735","attributes":{"state":"ACTIVE","lastLocationUpdate":"2020-10-07T16:59:13Z","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}}}
|
1
website/Scooters/scooter3.json
Normal file
@ -0,0 +1 @@
|
||||
{"data":{"type":"vehicle","id":"aa9cedf8-ab8e-4651-8b43-93079179f26a","attributes":{"state":"ACTIVE","lastLocationUpdate":"2020-10-07T16:54:06Z","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}}}
|
1
website/Scooters/scooter4.json
Normal file
@ -0,0 +1 @@
|
||||
{"data":{"type":"vehicle","id":"9df16c74-4a88-4f21-acf5-12ba401ca15a","attributes":{"state":"ACTIVE","lastLocationUpdate":"2020-10-07T16:58:06Z","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}}}
|
1
website/Scooters/scooter5.json
Normal file
@ -0,0 +1 @@
|
||||
{"data":{"type":"vehicle","id":"4763ce60-5b2e-44cf-919e-fffbff26a15e","attributes":{"state":"ACTIVE","lastLocationUpdate":"2020-10-07T16:54:34Z","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}}}
|
1
website/Scooters/scooter6.json
Normal file
@ -0,0 +1 @@
|
||||
{"data":{"type":"vehicle","id":"ca884ba2-b0a6-4f3f-b727-fcc33d10182c","attributes":{"state":"ACTIVE","lastLocationUpdate":"2020-10-07T16:57:19Z","lastStateChange":"2020-10-06T20:38:14Z","batteryLevel":96,"lat":52.525817,"lng":13.404346,"maxSpeed":20,"zoneId":"BERLIN","code":279601,"iotVendor":"okai","licencePlate":"359MZW","isRentable":true,"vehicleType":"escooter","hasHelmetBox":true,"hasHelmet":false}}}
|
1
website/Scooters/scooter7.json
Normal file
@ -0,0 +1 @@
|
||||
{"data":{"type":"vehicle","id":"78e9b9f1-0cf1-4415-9301-e2fe01d39bce","attributes":{"state":"ACTIVE","lastLocationUpdate":"2020-10-07T16:58:53Z","lastStateChange":"2020-10-07T12:50:46Z","batteryLevel":38,"lat":52.507907,"lng":13.306222,"maxSpeed":20,"zoneId":"BERLIN","code":283303,"iotVendor":"okai","licencePlate":"147MZT","isRentable":true,"vehicleType":"escooter","hasHelmetBox":true,"hasHelmet":false}}}
|
1
website/Scooters/scooter8.json
Normal file
@ -0,0 +1 @@
|
||||
{"data":{"type":"vehicle","id":"0b939caf-80e9-4d6b-8454-4a7f8eaf088c","attributes":{"state":"ACTIVE","lastLocationUpdate":"2020-10-07T17:01:18Z","lastStateChange":"2020-10-05T19:25:58Z","batteryLevel":84,"lat":52.502256,"lng":13.346028,"maxSpeed":20,"zoneId":"BERLIN","code":284530,"iotVendor":"okai","licencePlate":"963MZT","isRentable":true,"vehicleType":"escooter","hasHelmetBox":true,"hasHelmet":false}}}
|
1
website/Scooters/scooter9.json
Normal file
@ -0,0 +1 @@
|
||||
{"data":{"type":"vehicle","id":"0f7fa267-4bc1-439a-8fd0-43b98b9ffba7","attributes":{"state":"ACTIVE","lastLocationUpdate":"2020-10-07T17:01:03Z","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}}}
|
@ -2,26 +2,46 @@ import folium
|
||||
import requests
|
||||
import json
|
||||
import subprocess
|
||||
from datetime import datetime
|
||||
from glob import glob
|
||||
|
||||
#make api request
|
||||
#create map object
|
||||
m = folium.Map(location=[52.516190, 13.377693], tiles='Stamen Toner',zoom_start=13)
|
||||
|
||||
out1 = subprocess.Popen(["curl", "https://platform.tier-services.io/v1/vehicle/f6f55778-9339-4f81-8584-7645f3a6c4be", "-H", "x-api-key: bpEUTJEBTf74oGRWxaIcW7aeZMzDDODe1yBoSxi2"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
||||
stdout, stderr = out1.communicate()
|
||||
request_scooter1 = stdout
|
||||
#make api request (writes api responses to json)
|
||||
|
||||
subprocess.call(['sh','./scooter_locations.sh'])
|
||||
|
||||
#import scooter data
|
||||
|
||||
lat = request_scooter1['data']['attributes']['lat']
|
||||
lng = request_scooter1['data']['attributes']['lng']
|
||||
scooter_counter = 1
|
||||
|
||||
#create map object
|
||||
m = folium.Map(location=[52.516190, 13.377693], zoom_start=13)
|
||||
for file in glob('Scooters/*.json'):
|
||||
print ('importing data of scooter nr.' + str(scooter_counter) + '/10')
|
||||
with open(file, 'r') as scooter_location:
|
||||
location_data=scooter_location.read()
|
||||
#print(location_data)
|
||||
location_data_json = json.loads(location_data)
|
||||
#print(location_data_json)
|
||||
lat = location_data_json['data']['attributes']['lat']
|
||||
#print(lat)
|
||||
lng = location_data_json['data']['attributes']['lng']
|
||||
#print(lng)
|
||||
print('imported. moving on...')
|
||||
|
||||
#create markers
|
||||
folium.Marker([lat,lng],
|
||||
popup='<strong>ARTIST_NAME + ARTWORK_TITLE<strong/>',
|
||||
tooltip='ARTIST_NAME_HERE',
|
||||
icon=folium.Icon(icon='cloud')).add_to(m)
|
||||
#create markers for scooter
|
||||
print('creating marker for scooter nr.' + str(scooter_counter) + '/10')
|
||||
folium.Marker([lat,lng],
|
||||
popup='<strong>ARTIST_NAME + ARTWORK_TITLE<strong/>',
|
||||
tooltip='ARTIST_NAME_HERE',
|
||||
icon=folium.Icon(icon='cloud')).add_to(m)
|
||||
print('created. moving on...')
|
||||
scooter_counter = scooter_counter+1
|
||||
|
||||
#generate map.html
|
||||
m.save('map.html')
|
||||
m.save('map.html')
|
||||
#saving timestamp
|
||||
print('generating timestamp')
|
||||
with open('datetime.txt', 'w') as timestamp:
|
||||
timestamp.write(str(datetime.now()))
|
||||
print('finished!')
|
90
website/Speedshow_Map_backup.py
Normal file
@ -0,0 +1,90 @@
|
||||
import folium
|
||||
import requests
|
||||
import json
|
||||
import subprocess
|
||||
|
||||
#create map object
|
||||
m = folium.Map(location=[52.516190, 13.377693], tiles='Stamen Toner',zoom_start=13)
|
||||
|
||||
#make api request (writes api responses to json)
|
||||
|
||||
subprocess.call(['sh','./scooter_locations.sh'])
|
||||
|
||||
#import scooter1 data
|
||||
|
||||
with open('scooter1.json', 'r') as scooter_location:
|
||||
location_data=scooter_location.read()
|
||||
#print(location_data)
|
||||
location_data_json = json.loads(location_data)
|
||||
#print(location_data_json)
|
||||
lat = location_data_json['data']['attributes']['lat']
|
||||
#print(lat)
|
||||
lng = location_data_json['data']['attributes']['lng']
|
||||
#print(lng)
|
||||
|
||||
#create markers for scooter1
|
||||
folium.Marker([lat,lng],
|
||||
popup='<strong>ARTIST_NAME + ARTWORK_TITLE<strong/>',
|
||||
tooltip='ARTIST_NAME_HERE',
|
||||
icon=folium.Icon(icon='cloud')).add_to(m)
|
||||
|
||||
#import scooter2 data
|
||||
|
||||
with open('scooter2.json', 'r') as scooter_location:
|
||||
location_data=scooter_location.read()
|
||||
location_data_json = json.loads(location_data)
|
||||
lat = location_data_json['data']['attributes']['lat']
|
||||
lng = location_data_json['data']['attributes']['lng']
|
||||
|
||||
#create markers for scooter2
|
||||
folium.Marker([lat,lng],
|
||||
popup='<strong>ARTIST_NAME + ARTWORK_TITLE<strong/>',
|
||||
tooltip='ARTIST_NAME_HERE',
|
||||
icon=folium.Icon(icon='cloud')).add_to(m)
|
||||
|
||||
#import scooter3 data
|
||||
|
||||
with open('scooter3.json', 'r') as scooter_location:
|
||||
location_data=scooter_location.read()
|
||||
location_data_json = json.loads(location_data)
|
||||
lat = location_data_json['data']['attributes']['lat']
|
||||
lng = location_data_json['data']['attributes']['lng']
|
||||
|
||||
#create markers for scooter3
|
||||
folium.Marker([lat,lng],
|
||||
popup='<strong>ARTIST_NAME + ARTWORK_TITLE<strong/>',
|
||||
tooltip='ARTIST_NAME_HERE',
|
||||
icon=folium.Icon(icon='cloud')).add_to(m)
|
||||
|
||||
#import scooter4 data
|
||||
|
||||
with open('scooter4.json', 'r') as scooter_location:
|
||||
location_data=scooter_location.read()
|
||||
location_data_json = json.loads(location_data)
|
||||
lat = location_data_json['data']['attributes']['lat']
|
||||
lng = location_data_json['data']['attributes']['lng']
|
||||
|
||||
#create markers for scooter4
|
||||
folium.Marker([lat,lng],
|
||||
popup='<strong>ARTIST_NAME + ARTWORK_TITLE<strong/>',
|
||||
tooltip='ARTIST_NAME_HERE',
|
||||
icon=folium.Icon(icon='cloud')).add_to(m)
|
||||
|
||||
#import scooter5 data
|
||||
|
||||
with open('scooter5.json', 'r') as scooter_location:
|
||||
location_data=scooter_location.read()
|
||||
location_data_json = json.loads(location_data)
|
||||
lat = location_data_json['data']['attributes']['lat']
|
||||
lng = location_data_json['data']['attributes']['lng']
|
||||
|
||||
#create markers for scooter2
|
||||
folium.Marker([lat,lng],
|
||||
popup='<strong>ARTIST_NAME + ARTWORK_TITLE<strong/>',
|
||||
tooltip='ARTIST_NAME_HERE',
|
||||
icon=folium.Icon(icon='cloud')).add_to(m)
|
||||
|
||||
|
||||
|
||||
#generate map.html
|
||||
m.save('map.html')
|
29
website/Speedshow_Map_old.py
Normal file
@ -0,0 +1,29 @@
|
||||
import folium
|
||||
import requests
|
||||
import json
|
||||
import subprocess
|
||||
|
||||
#make api request
|
||||
|
||||
out1 = subprocess.Popen(["curl", "https://platform.tier-services.io/v1/vehicle/f6f55778-9339-4f81-8584-7645f3a6c4be", "-H", "x-api-key: bpEUTJEBTf74oGRWxaIcW7aeZMzDDODe1yBoSxi2"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
||||
stdout, stderr = out1.communicate()
|
||||
request_scooter1 = stdout
|
||||
|
||||
print(request_scooter1)
|
||||
|
||||
#import scooter data
|
||||
|
||||
lat = request_scooter1['data']['attributes']['lat']
|
||||
lng = request_scooter1['data']['attributes']['lng']
|
||||
|
||||
#create map object
|
||||
m = folium.Map(location=[52.516190, 13.377693], tiles='Stamen Toner',zoom_start=13)
|
||||
|
||||
#create markers
|
||||
folium.Marker([lat,lng],
|
||||
popup='<strong>ARTIST_NAME + ARTWORK_TITLE<strong/>',
|
||||
tooltip='ARTIST_NAME_HERE',
|
||||
icon=folium.Icon(icon='cloud')).add_to(m)
|
||||
|
||||
#generate map.html
|
||||
m.save('map.html')
|
1
website/datetime.txt
Normal file
@ -0,0 +1 @@
|
||||
2020-10-07 19:02:05.429713
|
21
website/index.php
Normal file
@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Opencoil Speedshow</title>
|
||||
<link rel="stylesheet" type="text/css" href="main.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>OPENCOIL</h1>
|
||||
<h2>roaming (low-)speedshow</h2>
|
||||
|
||||
<iframe src = "map.html">
|
||||
Sorry your browser does not support inline frames.
|
||||
</iframe>
|
||||
|
||||
<h3>26. October - 1. November</h3>
|
||||
<p>the map was last updated <?php include('datetime.txt'); ?></p>
|
||||
</body>
|
||||
|
||||
</html>
|
51
website/main.css
Normal file
@ -0,0 +1,51 @@
|
||||
body {
|
||||
display: flex;
|
||||
flex-flow: row wrap;
|
||||
justify-content: space-between;
|
||||
align-content: space-between;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
iframe {
|
||||
position: fixed;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
border: none;
|
||||
}
|
||||
|
||||
h1 {
|
||||
order: 1;
|
||||
z-index: 1000;
|
||||
width: 100%;
|
||||
font-family: monospace;
|
||||
font-size: 40px;
|
||||
color: aquamarine;
|
||||
}
|
||||
|
||||
h2 {
|
||||
order: 2;
|
||||
z-index: 1000;
|
||||
width: 100%;
|
||||
font-family: monospace;
|
||||
font-size: 20px;
|
||||
color: aquamarine;
|
||||
}
|
||||
|
||||
h3 {
|
||||
order: 3;
|
||||
align-self: flex-end;
|
||||
z-index: 1000;
|
||||
width: 100%;
|
||||
font-family: monospace;
|
||||
font-size: 15px;
|
||||
color: aquamarine;
|
||||
}
|
||||
|
||||
p {
|
||||
order: 4;
|
||||
z-index: 1000;
|
||||
font-family: monospace;
|
||||
font-size: 15px;
|
||||
color: red;
|
||||
}
|
333
website/map.html
@ -23,7 +23,7 @@
|
||||
<meta name="viewport" content="width=device-width,
|
||||
initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||
<style>
|
||||
#map_3ef0a52969c54ff8ac70f9cc4748c3bf {
|
||||
#map_50d38849c61c4829817ca1c69812780f {
|
||||
position: relative;
|
||||
width: 100.0%;
|
||||
height: 100.0%;
|
||||
@ -35,13 +35,13 @@
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="folium-map" id="map_3ef0a52969c54ff8ac70f9cc4748c3bf" ></div>
|
||||
<div class="folium-map" id="map_50d38849c61c4829817ca1c69812780f" ></div>
|
||||
|
||||
</body>
|
||||
<script>
|
||||
|
||||
var map_3ef0a52969c54ff8ac70f9cc4748c3bf = L.map(
|
||||
"map_3ef0a52969c54ff8ac70f9cc4748c3bf",
|
||||
var map_50d38849c61c4829817ca1c69812780f = L.map(
|
||||
"map_50d38849c61c4829817ca1c69812780f",
|
||||
{
|
||||
center: [52.51619, 13.377693],
|
||||
crs: L.CRS.EPSG3857,
|
||||
@ -55,38 +55,335 @@
|
||||
|
||||
|
||||
|
||||
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 tile_layer_d1b9dec719a54bdc9d31218bf3fa0d2b = L.tileLayer(
|
||||
"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}
|
||||
).addTo(map_50d38849c61c4829817ca1c69812780f);
|
||||
|
||||
|
||||
var marker_e15ded27b9a149059fd2c199ba277590 = L.marker(
|
||||
[52.487175, 13.364731],
|
||||
var marker_c1d449ccb48f4de3b1627e82f9670c43 = L.marker(
|
||||
[52.521088, 13.353991],
|
||||
{}
|
||||
).addTo(map_3ef0a52969c54ff8ac70f9cc4748c3bf);
|
||||
).addTo(map_50d38849c61c4829817ca1c69812780f);
|
||||
|
||||
|
||||
var icon_ae7b0f3ca8a24a5aa89c02613a27ee5b = L.AwesomeMarkers.icon(
|
||||
var icon_f0c3187f29d349ce804f2f42f6ac4825 = L.AwesomeMarkers.icon(
|
||||
{"extraClasses": "fa-rotate-0", "icon": "cloud", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
|
||||
);
|
||||
marker_e15ded27b9a149059fd2c199ba277590.setIcon(icon_ae7b0f3ca8a24a5aa89c02613a27ee5b);
|
||||
marker_c1d449ccb48f4de3b1627e82f9670c43.setIcon(icon_f0c3187f29d349ce804f2f42f6ac4825);
|
||||
|
||||
|
||||
var popup_c532ec577baa4a69a2278ac8393307f9 = L.popup({"maxWidth": "100%"});
|
||||
var popup_023478dc16eb4c2e8543dacfb638c186 = 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);
|
||||
var html_f1511e957aef452eb6c8a600c5def8e7 = $(`<div id="html_f1511e957aef452eb6c8a600c5def8e7" style="width: 100.0%; height: 100.0%;"><strong>ARTIST_NAME + ARTWORK_TITLE<strong/></div>`)[0];
|
||||
popup_023478dc16eb4c2e8543dacfb638c186.setContent(html_f1511e957aef452eb6c8a600c5def8e7);
|
||||
|
||||
|
||||
marker_e15ded27b9a149059fd2c199ba277590.bindPopup(popup_c532ec577baa4a69a2278ac8393307f9)
|
||||
marker_c1d449ccb48f4de3b1627e82f9670c43.bindPopup(popup_023478dc16eb4c2e8543dacfb638c186)
|
||||
;
|
||||
|
||||
|
||||
|
||||
|
||||
marker_e15ded27b9a149059fd2c199ba277590.bindTooltip(
|
||||
marker_c1d449ccb48f4de3b1627e82f9670c43.bindTooltip(
|
||||
`<div>
|
||||
ARTIST_NAME_HERE
|
||||
</div>`,
|
||||
{"sticky": true}
|
||||
);
|
||||
|
||||
|
||||
var marker_86cee3784d5b49db9af9fc4d466efd12 = L.marker(
|
||||
[52.461337, 13.32099],
|
||||
{}
|
||||
).addTo(map_50d38849c61c4829817ca1c69812780f);
|
||||
|
||||
|
||||
var icon_b9364084afaf4c9fa9ef8a27d9b941a6 = L.AwesomeMarkers.icon(
|
||||
{"extraClasses": "fa-rotate-0", "icon": "cloud", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
|
||||
);
|
||||
marker_86cee3784d5b49db9af9fc4d466efd12.setIcon(icon_b9364084afaf4c9fa9ef8a27d9b941a6);
|
||||
|
||||
|
||||
var popup_c5b5c8f42ae94f59bfce8fd052ea0595 = L.popup({"maxWidth": "100%"});
|
||||
|
||||
|
||||
var html_38abbe80c3c34362b6e9099f203f6dcb = $(`<div id="html_38abbe80c3c34362b6e9099f203f6dcb" style="width: 100.0%; height: 100.0%;"><strong>ARTIST_NAME + ARTWORK_TITLE<strong/></div>`)[0];
|
||||
popup_c5b5c8f42ae94f59bfce8fd052ea0595.setContent(html_38abbe80c3c34362b6e9099f203f6dcb);
|
||||
|
||||
|
||||
marker_86cee3784d5b49db9af9fc4d466efd12.bindPopup(popup_c5b5c8f42ae94f59bfce8fd052ea0595)
|
||||
;
|
||||
|
||||
|
||||
|
||||
|
||||
marker_86cee3784d5b49db9af9fc4d466efd12.bindTooltip(
|
||||
`<div>
|
||||
ARTIST_NAME_HERE
|
||||
</div>`,
|
||||
{"sticky": true}
|
||||
);
|
||||
|
||||
|
||||
var marker_5522d3f8cc594688869f816f0b40f5e0 = L.marker(
|
||||
[52.54126, 13.368985],
|
||||
{}
|
||||
).addTo(map_50d38849c61c4829817ca1c69812780f);
|
||||
|
||||
|
||||
var icon_7a6c048d9b464acb8cef44df2efb3528 = L.AwesomeMarkers.icon(
|
||||
{"extraClasses": "fa-rotate-0", "icon": "cloud", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
|
||||
);
|
||||
marker_5522d3f8cc594688869f816f0b40f5e0.setIcon(icon_7a6c048d9b464acb8cef44df2efb3528);
|
||||
|
||||
|
||||
var popup_9606483243e44b33b8f304452f3f01b2 = L.popup({"maxWidth": "100%"});
|
||||
|
||||
|
||||
var html_0e4453b8e0134c66a7480a68fd9555bf = $(`<div id="html_0e4453b8e0134c66a7480a68fd9555bf" style="width: 100.0%; height: 100.0%;"><strong>ARTIST_NAME + ARTWORK_TITLE<strong/></div>`)[0];
|
||||
popup_9606483243e44b33b8f304452f3f01b2.setContent(html_0e4453b8e0134c66a7480a68fd9555bf);
|
||||
|
||||
|
||||
marker_5522d3f8cc594688869f816f0b40f5e0.bindPopup(popup_9606483243e44b33b8f304452f3f01b2)
|
||||
;
|
||||
|
||||
|
||||
|
||||
|
||||
marker_5522d3f8cc594688869f816f0b40f5e0.bindTooltip(
|
||||
`<div>
|
||||
ARTIST_NAME_HERE
|
||||
</div>`,
|
||||
{"sticky": true}
|
||||
);
|
||||
|
||||
|
||||
var marker_0c6389b1f5f44f2192fed6e1cbd2ba39 = L.marker(
|
||||
[52.516038, 13.294029],
|
||||
{}
|
||||
).addTo(map_50d38849c61c4829817ca1c69812780f);
|
||||
|
||||
|
||||
var icon_7fa880bf1052482b814f65407e58573b = L.AwesomeMarkers.icon(
|
||||
{"extraClasses": "fa-rotate-0", "icon": "cloud", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
|
||||
);
|
||||
marker_0c6389b1f5f44f2192fed6e1cbd2ba39.setIcon(icon_7fa880bf1052482b814f65407e58573b);
|
||||
|
||||
|
||||
var popup_b5a4e3d7c1a7462baa93db7cd2cc83f7 = L.popup({"maxWidth": "100%"});
|
||||
|
||||
|
||||
var html_4b0228a283964135818f69aac6de9ca0 = $(`<div id="html_4b0228a283964135818f69aac6de9ca0" style="width: 100.0%; height: 100.0%;"><strong>ARTIST_NAME + ARTWORK_TITLE<strong/></div>`)[0];
|
||||
popup_b5a4e3d7c1a7462baa93db7cd2cc83f7.setContent(html_4b0228a283964135818f69aac6de9ca0);
|
||||
|
||||
|
||||
marker_0c6389b1f5f44f2192fed6e1cbd2ba39.bindPopup(popup_b5a4e3d7c1a7462baa93db7cd2cc83f7)
|
||||
;
|
||||
|
||||
|
||||
|
||||
|
||||
marker_0c6389b1f5f44f2192fed6e1cbd2ba39.bindTooltip(
|
||||
`<div>
|
||||
ARTIST_NAME_HERE
|
||||
</div>`,
|
||||
{"sticky": true}
|
||||
);
|
||||
|
||||
|
||||
var marker_fe99560265a54d869fc0f2defb802a4f = L.marker(
|
||||
[52.502256, 13.346028],
|
||||
{}
|
||||
).addTo(map_50d38849c61c4829817ca1c69812780f);
|
||||
|
||||
|
||||
var icon_7ed29a93caca40b4b4074593caa6777c = L.AwesomeMarkers.icon(
|
||||
{"extraClasses": "fa-rotate-0", "icon": "cloud", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
|
||||
);
|
||||
marker_fe99560265a54d869fc0f2defb802a4f.setIcon(icon_7ed29a93caca40b4b4074593caa6777c);
|
||||
|
||||
|
||||
var popup_2c1668a13e264dd3890da2de790e6bb6 = L.popup({"maxWidth": "100%"});
|
||||
|
||||
|
||||
var html_3341ef5374354b2f89edc95d9700096a = $(`<div id="html_3341ef5374354b2f89edc95d9700096a" style="width: 100.0%; height: 100.0%;"><strong>ARTIST_NAME + ARTWORK_TITLE<strong/></div>`)[0];
|
||||
popup_2c1668a13e264dd3890da2de790e6bb6.setContent(html_3341ef5374354b2f89edc95d9700096a);
|
||||
|
||||
|
||||
marker_fe99560265a54d869fc0f2defb802a4f.bindPopup(popup_2c1668a13e264dd3890da2de790e6bb6)
|
||||
;
|
||||
|
||||
|
||||
|
||||
|
||||
marker_fe99560265a54d869fc0f2defb802a4f.bindTooltip(
|
||||
`<div>
|
||||
ARTIST_NAME_HERE
|
||||
</div>`,
|
||||
{"sticky": true}
|
||||
);
|
||||
|
||||
|
||||
var marker_9c892b8b9ac549c684f814cc5e1b98e3 = L.marker(
|
||||
[52.523263, 13.485609],
|
||||
{}
|
||||
).addTo(map_50d38849c61c4829817ca1c69812780f);
|
||||
|
||||
|
||||
var icon_377758e4839249b9a99da21214ee76ea = L.AwesomeMarkers.icon(
|
||||
{"extraClasses": "fa-rotate-0", "icon": "cloud", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
|
||||
);
|
||||
marker_9c892b8b9ac549c684f814cc5e1b98e3.setIcon(icon_377758e4839249b9a99da21214ee76ea);
|
||||
|
||||
|
||||
var popup_31f96171124841d1a96b551ff5ccb2d9 = L.popup({"maxWidth": "100%"});
|
||||
|
||||
|
||||
var html_2bb3b5f556664cbe8a84adba3b92dc3c = $(`<div id="html_2bb3b5f556664cbe8a84adba3b92dc3c" style="width: 100.0%; height: 100.0%;"><strong>ARTIST_NAME + ARTWORK_TITLE<strong/></div>`)[0];
|
||||
popup_31f96171124841d1a96b551ff5ccb2d9.setContent(html_2bb3b5f556664cbe8a84adba3b92dc3c);
|
||||
|
||||
|
||||
marker_9c892b8b9ac549c684f814cc5e1b98e3.bindPopup(popup_31f96171124841d1a96b551ff5ccb2d9)
|
||||
;
|
||||
|
||||
|
||||
|
||||
|
||||
marker_9c892b8b9ac549c684f814cc5e1b98e3.bindTooltip(
|
||||
`<div>
|
||||
ARTIST_NAME_HERE
|
||||
</div>`,
|
||||
{"sticky": true}
|
||||
);
|
||||
|
||||
|
||||
var marker_bc972bc4fdae430a87193b6ed90d3481 = L.marker(
|
||||
[52.478558, 13.419809],
|
||||
{}
|
||||
).addTo(map_50d38849c61c4829817ca1c69812780f);
|
||||
|
||||
|
||||
var icon_b8c2cf5767ef4e6f838f303cf4fa8550 = L.AwesomeMarkers.icon(
|
||||
{"extraClasses": "fa-rotate-0", "icon": "cloud", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
|
||||
);
|
||||
marker_bc972bc4fdae430a87193b6ed90d3481.setIcon(icon_b8c2cf5767ef4e6f838f303cf4fa8550);
|
||||
|
||||
|
||||
var popup_43e7b1c463b641c6a8f0e38cb15c6e8d = L.popup({"maxWidth": "100%"});
|
||||
|
||||
|
||||
var html_58ee20271c2f45849ed0494476c12709 = $(`<div id="html_58ee20271c2f45849ed0494476c12709" style="width: 100.0%; height: 100.0%;"><strong>ARTIST_NAME + ARTWORK_TITLE<strong/></div>`)[0];
|
||||
popup_43e7b1c463b641c6a8f0e38cb15c6e8d.setContent(html_58ee20271c2f45849ed0494476c12709);
|
||||
|
||||
|
||||
marker_bc972bc4fdae430a87193b6ed90d3481.bindPopup(popup_43e7b1c463b641c6a8f0e38cb15c6e8d)
|
||||
;
|
||||
|
||||
|
||||
|
||||
|
||||
marker_bc972bc4fdae430a87193b6ed90d3481.bindTooltip(
|
||||
`<div>
|
||||
ARTIST_NAME_HERE
|
||||
</div>`,
|
||||
{"sticky": true}
|
||||
);
|
||||
|
||||
|
||||
var marker_4a9cf5cbd85a48e08039d946564b10c4 = L.marker(
|
||||
[52.507907, 13.306222],
|
||||
{}
|
||||
).addTo(map_50d38849c61c4829817ca1c69812780f);
|
||||
|
||||
|
||||
var icon_41c8098088d54f938cd84e7128fd5247 = L.AwesomeMarkers.icon(
|
||||
{"extraClasses": "fa-rotate-0", "icon": "cloud", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
|
||||
);
|
||||
marker_4a9cf5cbd85a48e08039d946564b10c4.setIcon(icon_41c8098088d54f938cd84e7128fd5247);
|
||||
|
||||
|
||||
var popup_84bff0fa155f4f7fb8b95cebd0fafc71 = L.popup({"maxWidth": "100%"});
|
||||
|
||||
|
||||
var html_27687378ba184e4092494a57b0bfb953 = $(`<div id="html_27687378ba184e4092494a57b0bfb953" style="width: 100.0%; height: 100.0%;"><strong>ARTIST_NAME + ARTWORK_TITLE<strong/></div>`)[0];
|
||||
popup_84bff0fa155f4f7fb8b95cebd0fafc71.setContent(html_27687378ba184e4092494a57b0bfb953);
|
||||
|
||||
|
||||
marker_4a9cf5cbd85a48e08039d946564b10c4.bindPopup(popup_84bff0fa155f4f7fb8b95cebd0fafc71)
|
||||
;
|
||||
|
||||
|
||||
|
||||
|
||||
marker_4a9cf5cbd85a48e08039d946564b10c4.bindTooltip(
|
||||
`<div>
|
||||
ARTIST_NAME_HERE
|
||||
</div>`,
|
||||
{"sticky": true}
|
||||
);
|
||||
|
||||
|
||||
var marker_e8e682cffb0347d4a3c981624106dee1 = L.marker(
|
||||
[52.525817, 13.404346],
|
||||
{}
|
||||
).addTo(map_50d38849c61c4829817ca1c69812780f);
|
||||
|
||||
|
||||
var icon_91f2aefa694e47ce9c1ea859f4a012d8 = L.AwesomeMarkers.icon(
|
||||
{"extraClasses": "fa-rotate-0", "icon": "cloud", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
|
||||
);
|
||||
marker_e8e682cffb0347d4a3c981624106dee1.setIcon(icon_91f2aefa694e47ce9c1ea859f4a012d8);
|
||||
|
||||
|
||||
var popup_f03c617ed3fa493ea12785eb8334837e = L.popup({"maxWidth": "100%"});
|
||||
|
||||
|
||||
var html_ce686ed1919f427798456629126c2d02 = $(`<div id="html_ce686ed1919f427798456629126c2d02" style="width: 100.0%; height: 100.0%;"><strong>ARTIST_NAME + ARTWORK_TITLE<strong/></div>`)[0];
|
||||
popup_f03c617ed3fa493ea12785eb8334837e.setContent(html_ce686ed1919f427798456629126c2d02);
|
||||
|
||||
|
||||
marker_e8e682cffb0347d4a3c981624106dee1.bindPopup(popup_f03c617ed3fa493ea12785eb8334837e)
|
||||
;
|
||||
|
||||
|
||||
|
||||
|
||||
marker_e8e682cffb0347d4a3c981624106dee1.bindTooltip(
|
||||
`<div>
|
||||
ARTIST_NAME_HERE
|
||||
</div>`,
|
||||
{"sticky": true}
|
||||
);
|
||||
|
||||
|
||||
var marker_26c45a761a46403da912e5293508f0ae = L.marker(
|
||||
[52.505015, 13.358382],
|
||||
{}
|
||||
).addTo(map_50d38849c61c4829817ca1c69812780f);
|
||||
|
||||
|
||||
var icon_981bf1c54a1c44bb84e33e693eec2283 = L.AwesomeMarkers.icon(
|
||||
{"extraClasses": "fa-rotate-0", "icon": "cloud", "iconColor": "white", "markerColor": "blue", "prefix": "glyphicon"}
|
||||
);
|
||||
marker_26c45a761a46403da912e5293508f0ae.setIcon(icon_981bf1c54a1c44bb84e33e693eec2283);
|
||||
|
||||
|
||||
var popup_dda7d815ff034d68bb36f02c3f6b99d4 = L.popup({"maxWidth": "100%"});
|
||||
|
||||
|
||||
var html_88e6e043ca94433f988c1d2a5dece236 = $(`<div id="html_88e6e043ca94433f988c1d2a5dece236" style="width: 100.0%; height: 100.0%;"><strong>ARTIST_NAME + ARTWORK_TITLE<strong/></div>`)[0];
|
||||
popup_dda7d815ff034d68bb36f02c3f6b99d4.setContent(html_88e6e043ca94433f988c1d2a5dece236);
|
||||
|
||||
|
||||
marker_26c45a761a46403da912e5293508f0ae.bindPopup(popup_dda7d815ff034d68bb36f02c3f6b99d4)
|
||||
;
|
||||
|
||||
|
||||
|
||||
|
||||
marker_26c45a761a46403da912e5293508f0ae.bindTooltip(
|
||||
`<div>
|
||||
ARTIST_NAME_HERE
|
||||
</div>`,
|
||||
|
11
website/scooter_locations.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
curl "https://platform.tier-services.io/v1/vehicle/fbd739d6-554f-4eaf-bd9c-afe3d501c94b" -H "x-api-key: bpEUTJEBTf74oGRWxaIcW7aeZMzDDODe1yBoSxi2" > Scooters/scooter1.json
|
||||
curl "https://platform.tier-services.io/v1/vehicle/530b66c9-e5f9-47ac-ba31-2e357dc4c735" -H "x-api-key: bpEUTJEBTf74oGRWxaIcW7aeZMzDDODe1yBoSxi2" > Scooters/scooter2.json
|
||||
curl "https://platform.tier-services.io/v1/vehicle/aa9cedf8-ab8e-4651-8b43-93079179f26a" -H "x-api-key: bpEUTJEBTf74oGRWxaIcW7aeZMzDDODe1yBoSxi2" > Scooters/scooter3.json
|
||||
curl "https://platform.tier-services.io/v1/vehicle/9df16c74-4a88-4f21-acf5-12ba401ca15a" -H "x-api-key: bpEUTJEBTf74oGRWxaIcW7aeZMzDDODe1yBoSxi2" > Scooters/scooter4.json
|
||||
curl "https://platform.tier-services.io/v1/vehicle/4763ce60-5b2e-44cf-919e-fffbff26a15e" -H "x-api-key: bpEUTJEBTf74oGRWxaIcW7aeZMzDDODe1yBoSxi2" > Scooters/scooter5.json
|
||||
curl "https://platform.tier-services.io/v1/vehicle/ca884ba2-b0a6-4f3f-b727-fcc33d10182c" -H "x-api-key: bpEUTJEBTf74oGRWxaIcW7aeZMzDDODe1yBoSxi2" > Scooters/scooter6.json
|
||||
curl "https://platform.tier-services.io/v1/vehicle/78e9b9f1-0cf1-4415-9301-e2fe01d39bce" -H "x-api-key: bpEUTJEBTf74oGRWxaIcW7aeZMzDDODe1yBoSxi2" > Scooters/scooter7.json
|
||||
curl "https://platform.tier-services.io/v1/vehicle/0b939caf-80e9-4d6b-8454-4a7f8eaf088c" -H "x-api-key: bpEUTJEBTf74oGRWxaIcW7aeZMzDDODe1yBoSxi2" > Scooters/scooter8.json
|
||||
curl "https://platform.tier-services.io/v1/vehicle/0f7fa267-4bc1-439a-8fd0-43b98b9ffba7" -H "x-api-key: bpEUTJEBTf74oGRWxaIcW7aeZMzDDODe1yBoSxi2" > Scooters/scooter9.json
|
||||
curl "https://platform.tier-services.io/v1/vehicle/8732f342-df2f-475f-b0f6-c0032743a944" -H "x-api-key: bpEUTJEBTf74oGRWxaIcW7aeZMzDDODe1yBoSxi2" > Scooters/scooter10.json
|
BIN
wiki/poo.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
wiki/scooter.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
wiki/wikilogo.png
Normal file
After Width: | Height: | Size: 51 KiB |
BIN
wiki/wikilogo_small.png
Normal file
After Width: | Height: | Size: 18 KiB |