-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmap_page.html
271 lines (221 loc) · 31 KB
/
map_page.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
<!DOCTYPE html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script>L_PREFER_CANVAS = false; L_NO_TOUCH = false; L_DISABLE_3D = false;</script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/leaflet.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.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/[email protected]/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://rawgit.com/python-visualization/folium/master/folium/templates/leaflet.awesome.rotate.css"/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet.markercluster/1.1.0/leaflet.markercluster.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet.markercluster/1.1.0/MarkerCluster.css"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet.markercluster/1.1.0/MarkerCluster.Default.css"/>
<style>html, body {width: 100%;height: 100%;margin: 0;padding: 0;}
#map {position:absolute;top:0;bottom:0;right:0;left:0;}
#map_stations {
position : relative;
width : 100%;
height: 100.0%;
left: 0.0%;
top: 0.0%;
}
#leftnav
{
width: 300px;
height: 100%;
position: absolute;
top:0px;
/*top:5%;
bottom: 5%;*/
background-color: white;
left: 0px;
z-index: 500 ;/*1000;*/
}
#backtomain
{
height: 50px;
width: 100%;
align-content: center;
/*text-align: center;*/
vertical-align: center;
display: inline-grid;
position: absolute;
border-bottom: solid 1px #EEE;
overflow: hidden;
}
#small_col
{
position: absolute;
right: 0px;
height: 40px;
cursor: pointer;
top: calc( 50% - 20px );
border: 1px solid #EEE;
background: rgb(250,250,250);
border-right: none;
-webkit-box-shadow: -1px 0px 2px 0px rgba(0,0,0,0.46);
-moz-box-shadow: -1px 0px 2px 0px rgba(0,0,0,0.46);
box-shadow: -1px 0px 1px 0px rgba(0,0,0,0.46);
}
.textbox {
outline: 0;
height: 42px;
width: 95%;
line-height: 42px;
padding: 0 16px;
background-color: rgba(255, 255, 255, 0.8);
color: #212121;
border: 0;
margin-top:30px;
float: left;
-webkit-border-radius: 4px 0 0 4px;
border-radius: 4px 0 0 4px;
}
.textbox:focus {
outline: 0;
background-color: #FFF;
}
.divScroll ul
{
width:100%;
height:850px;
overflow:auto;
}
.divScroll ul li {
display:inline-block;
vertical-align: top;
width: 100%;
}
.selectable_item {
text-decoration:none;
outline: none;
padding: 15px 0;
display: block;
background: background-color: rgba(255, 255, 255, 0.8);
transition: all 1s ease;
text-align:left;
}
.selectable_item:hover {
background: rgba(50,153,187,0.8);
}
</style>
</head>
<body>
<div class="folium-map" id="map_stations" ></div>
<div id="leftnav">
<div id="backtomain">
<h2 id="title"> Weather Stations</h2>
<div id="small_col">
<svg id="svg-arr-left" height="40" width="30">
<polygon points="8,20 22,10 22,30" stroke-linejoin="round"
style="fill:#CCC;stroke:#DDD; stroke-width:3; "></polygon>
</svg>
<svg id="svg-arr-right" style="display: none;" height="40" width="30">
<polygon points="22,20 8,10 8,30" stroke-linejoin="round"
style="fill:#CCC;stroke:#DDD; stroke-width:3; "></polygon>
</svg>
</div>
</div>
<br>
<input type="text" class="textbox search_input_box" placeholder="Search for city" id="find_city">
<div class='divScroll' >
<ul class="navList" ></ul>
</div>
</div>
</body>
<script type="text/javascript">
function create_list(list)
{
for(i=0; i<list.length; i++)
{
var itemname = list[i];
var new_li = $('<li class = "selectable_item" data-point="52.52437,13.41053" id="sel_' + itemname +'" dings="' + itemname +'">'+ itemname +'</li>');
new_li.click(function(e){
var latlng = $(this).data().point.split(',');
var lat = latlng[0];
var lng = latlng[1];
var zoom = 10;
// set the view
map_stations.setView([lat, lng], zoom);
});
$(".navList").append(new_li);
}
}
$(document).ready(function()
{
$("#svg-arr-left").click(()=>{ $("#leftnav").css("width", "30px"); $("#title").addClass("hidden"); $("#svg-arr-left").css("display", "none"); $("#svg-arr-right").css("display", "block"); });
$("#svg-arr-right").click(()=>{ $("#leftnav").css("width", "300px"); $("#title").removeClass("hidden"); $("#svg-arr-right").css("display", "none"); $("#svg-arr-left").css("display", "block"); })
var cities = ['Berlin','Hamburg','Köln','Düsseldorf','Leipzig','Dresden','Bonn','Münich','Frankfurt am Main'];
create_list(cities)
$('.search_input_box').keyup(function()
{
var searched_str = $(this).val().toLowerCase();
if(searched_str == "")
{
$('.navList > li').show();
}
else // that is if some input is given
{
$('.navList > li').each(function()
{
// if we can find the input string in the current list items text
var text = $(this).text().toLowerCase();
(text.indexOf(searched_str) >= 0) ? $(this).show() : $(this).hide();
});
};
}); // end box.keyup
var bounds = null;
map_stations = L.map(
'map_stations',
{center: [51,10.5],
zoom: 6.4,
zoomControl:false,
maxBounds: bounds,
layers: [],
worldCopyJump: false,
crs: L.CRS.EPSG3857
});
new L.Control.Zoom({ position: 'topright' }).addTo(map_stations);
var tile_layer = L.tileLayer(
'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
{
"attribution": null,
"detectRetina": false,
"maxZoom": 18,
"minZoom": 1,
"noWrap": false,
"subdomains": "abc"
}
).addTo(map_stations);
var callback = function (row) {
var icon, marker;
icon = L.AwesomeMarkers.icon({
icon: "map-marker", markerColor: "red"});
marker = L.marker(new L.LatLng(row[0], row[1]));
marker.setIcon(icon);
marker.bindPopup('dwd weather station').openPopup
marker.on('click', onClick);
function onClick(e) {
var popup = e.target.getPopup();
popup.setContent("This is a weather station at " + e.latlng.toString())
}
return marker;
};;
(function(){
var data = [[47.8413, 8.8493], [50.7827, 6.0941], [52.9335, 8.237], [53.6623, 10.199], [48.8443, 12.6171], [48.2052, 9.0371], [48.2156, 8.9784], [48.2766, 9.0001], [48.6159, 13.0506], [52.4853, 7.9126], [50.7446, 9.345], [50.7691, 9.2542], [51.189, 8.4671], [53.8617, 8.1266], [51.7976, 10.4429], [50.9833, 12.4333], [47.8342, 10.8667], [53.6893, 13.242], [51.0881, 12.9326], [49.7725, 12.3891], [48.406, 11.3117], [49.7273, 8.1164], [49.4691, 11.8546], [48.0197, 12.2924], [50.4237, 7.4202], [53.0316, 13.9908], [53.8412, 13.6846], [50.573, 13.0053], [52.2486, 9.5056], [49.1886, 7.9766], [49.2964, 10.5751], [49.2475, 10.5826], [49.3158, 10.5815], [54.6792, 13.4343], [52.6769, 12.0077], [54.6289, 9.9294], [51.3773, 8.0713], [49.9695, 9.9113], [51.3845, 9.082], [51.3745, 11.292], [49.9778, 9.1114], [51.7498, 11.4667], [50.58, 8.4685], [47.8774, 11.3642], [48.5515, 11.7117], [50.5907, 12.714], [48.3723, 10.8948], [48.4254, 10.942], [53.4621, 7.467], [48.727, 8.2458], [47.8064, 7.6387], [48.5293, 8.2727], [47.8413, 9.6606], [49.8742, 10.9206], [49.8808, 10.8695], [49.88, 10.88], [53.8409, 13.7549], [52.3199, 9.43], [54.3406, 12.7108], [52.0614, 13.4996], [51.1604, 14.5042], [49.9667, 11.5197], [47.6797, 12.0017], [51.7204, 8.0577], [53.6234, 8.8323], [49.5617, 8.9673], [54.3426, 10.6018], [52.317, 8.1694], [50.4135, 7.5886], [49.6789, 8.6276], [47.6344, 13.0109], [49.3311, 11.4303], [52.8152, 9.9248], [49.107, 7.9967], [50.9074, 11.2665], [51.0454, 8.3851], [50.9837, 8.3683], [52.4167, 13.4833], [52.5198, 13.4057], [52.6309, 13.5022], [52.4564, 13.2997], [52.4537, 13.3017], [52.45, 13.65], [52.6461, 13.2858], [52.5333, 13.3833], [52.404, 13.7309], [52.4069, 13.4127], [52.4144, 13.3036], [52.5447, 13.5598], [52.5333, 13.3833], [52.5, 13.4667], [52.4044, 13.4838], [52.3807, 13.5306], [52.5667, 13.1694], [52.5644, 13.3088], [52.6044, 13.2952], [52.4675, 13.4021], [52.4553, 13.4699], [52.4289, 13.2327], [51.8218, 11.7109], [49.9186, 7.0664], [50.0699, 7.0306], [49.264, 6.6868], [48.1252, 9.7639], [50.9275, 8.4935], [49.8747, 9.4883], [50.0539, 11.8149], [51.6333, 12.3167], [50.6738, 11.2805], [50.0372, 7.3079], [50.9041, 11.7985], [51.838, 6.6107], [51.8293, 6.5365], [51.4789, 7.2697], [49.0768, 13.0765], [48.6759, 8.9732], [48.9451, 11.3667], [51.752, 9.3953], [53.3911, 10.6878], [53.8634, 9.7344], [48.6407, 9.6136], [54.0028, 11.1908], [50.7285, 7.0839], [50.7055, 7.1467], [50.6983, 7.0356], [50.7349, 7.1931], [47.8194, 8.3348], [48.0791, 10.1977], [51.5709, 9.312], [51.8728, 6.8862], [53.5788, 6.6703], [49.4442, 9.6458], [53.3517, 8.4969], [53.296, 8.4529], [52.4083, 7.9682], [53.8551, 9.7152], [52.4136, 12.5503], [49.5353, 10.7706], [51.7234, 10.6021], [51.6634, 10.669], [52.2744, 10.5656], [52.2708, 10.5334], [52.2914, 10.4465], [49.9017, 9.4281], [53.045, 8.7979], [53.1004, 8.7834], [53.5332, 8.5761], [53.5876, 8.6015], [53.4779, 9.1553], [53.4451, 9.139], [53.5312, 9.1664], [47.8858, 7.6611], [49.025, 8.6991], [51.3873, 8.5737], [51.7986, 10.6183], [49.7345, 8.9557], [50.8282, 10.454], [49.6303, 7.1148], [51.2, 6.1333], [49.5182, 9.3213], [47.9625, 7.9983], [53.3629, 9.9435], [50.1746, 7.0595], [52.2817, 9.0889], [50.2769, 9.1167], [48.6957, 8.1744], [48.6743, 8.1799], [49.662, 7.1098], [49.745, 10.6434], [51.0306, 8.8146], [50.396, 8.5465], [50.6951, 13.4975], [50.4313, 12.6114], [52.6146, 10.0726], [52.5959, 10.0296], [49.2504, 12.604], [50.7913, 12.872], [47.8843, 12.5404], [51.7904, 10.347], [52.8441, 8.0624], [50.3067, 10.968], [51.304, 13.0096], [51.7667, 14.2833], [51.776, 14.3168], [49.0985, 10.0979], [50.8149, 12.3821], [53.8713, 8.7058], [51.0778, 10.8619], [49.8809, 8.6779], [49.8453, 8.624], [49.8697, 8.6796], [49.8564, 8.5929], [50.1957, 6.8279], [47.8007, 9.4108], [51.8512, 12.2515], [49.7619, 7.0541], [54.1796, 7.4587], [52.5881, 8.3424], [50.0832, 6.8904], [51.2401, 13.4166], [49.4158, 10.6734], [50.7364, 8.2672], [48.5701, 10.4985], [48.5562, 10.5599], [50.9117, 13.7087], [48.7968, 8.4921], [54.1442, 11.8454], [51.6451, 13.5747], [51.1333, 13.1167], [53.1399, 11.2544], [47.9422, 8.5046], [51.512, 7.5345], [51.0557, 13.7274], [51.128, 13.7543], [51.0221, 13.847], [51.024, 13.7737], [52.2174, 12.1641], [51.7337, 9.0445], [51.504, 10.2613], [49.4719, 8.1929], [49.4686, 8.1797], [51.3043, 12.081], [48.0135, 8.5343], [51.296, 6.7686], [51.1998, 6.7574], [51.394, 6.7026], [51.4634, 6.7321], [51.2806, 10.7362], [49.46, 8.9584], [48.7201, 9.5328], [48.1002, 11.9872], [52.8239, 13.7979], [49.852, 10.499], [54.6282, 9.3649], [48.6593, 8.9121], [48.3416, 12.882], [48.8777, 11.2349], [47.6288, 7.5959], [51.8189, 9.8871], [51.5029, 11.5705], [50.7041, 10.8576], [48.9895, 10.1312], [54.0691, 9.0105], [50.9281, 6.5646], [53.2346, 8.4612], [50.2705, 12.2742], [48.2012, 8.1089], [53.3449, 7.1909], [53.3707, 7.2236], [48.1378, 7.8351], [54.1651, 6.346], [50.3324, 7.6975], [50.9884, 7.425], [47.8516, 8.7673], [48.4734, 9.3028], [51.8418, 8.0607], [49.1307, 8.9165], [49.1664, 8.8523], [48.3477, 11.8133], [54.2992, 9.3162], [50.9829, 10.9608], [48.3008, 13.1398], [47.6358, 9.5392], [49.6497, 11.0074], [49.5692, 10.9929], [49.8589, 9.2861], [49.7522, 11.8222], [51.2041, 10.0138], [53.6476, 7.6085], [51.254, 8.1565], [51.4041, 6.9677], [50.7119, 6.7905], [54.134, 10.5865], [48.4832, 12.7241], [52.9157, 10.1885], [54.6, 11.15], [53.3346, 13.4371], [47.8749, 8.0038], [47.8555, 8.1155], [49.9807, 11.8376], [50.4283, 12.9535], [47.4608, 10.2696], [50.5049, 10.1671], [54.8086, 9.4182], [54.7737, 9.3752], [54.8147, 9.458], [49.7317, 12.3491], [50.0616, 9.455], [51.3512, 11.0958], [50.5309, 10.048], [50.0259, 8.5213], [50.1474, 8.6746], [50.1269, 8.6694], [50.1213, 8.6601], [52.3397, 14.508], [49.2275, 8.0585], [48.2018, 7.9336], [50.9263, 13.2711], [48.0233, 7.8344], [48.013, 7.8588], [53.8277, 9.2493], [48.4607, 8.4141], [48.4537, 8.4091], [49.178, 11.3735], [47.9216, 8.2547], [51.6884, 11.0394], [47.6454, 9.4795], [47.7819, 7.7348], [50.4788, 11.0159], [53.0643, 7.9022], [51.119, 9.2799], [50.6588, 8.1027], [48.2, 11.2667], [49.4811, 10.964], [50.5668, 9.6533], [52.5129, 11.3941], [47.4831, 11.0623], [53.2066, 14.3817], [50.6549, 10.7743], [50.9593, 6.0392], [49.9859, 7.9549], [50.7719, 13.7732], [47.9242, 8.6473], [47.8774, 12.6279], [48.9481, 11.4289], [51.4942, 6.2463], [50.2027, 9.1989], [48.4329, 7.9931], [52.3875, 12.1601], [50.8813, 12.1289], [51.7259, 11.1317], [49.7622, 8.4887], [50.2766, 9.9146], [50.4477, 9.9174], [50.591, 8.6551], [50.6017, 8.6439], [50.9656, 9.05], [54.8273, 9.5057], [53.797, 9.4295], [51.1622, 14.9506], [49.7656, 11.3061], [51.5003, 9.9506], [53.606, 12.1033], [50.85, 13.9333], [49.664, 11.2239], [48.7893, 13.6291], [53.5731, 10.6797], [50.4788, 9.262], [54.0967, 13.4056], [54.1, 13.45], [54.2437, 13.9102], [50.65, 12.2], [50.6249, 12.1777], [52.1344, 7.6969], [54.0714, 12.3238], [49.1128, 13.1342], [49.0851, 13.2801], [50.8519, 10.4665], [47.941, 11.9], [48.8126, 11.5728], [50.2667, 9.1854], [53.3153, 13.9338], [51.7956, 10.238], [48.9354, 9.7364], [48.4878, 10.2607], [53.7667, 12.2167], [51.8771, 8.3577], [51.9298, 8.3005], [49.1273, 10.7448], [51.4129, 7.4895], [51.8597, 10.3368], [51.5138, 11.9499], [51.4831, 11.9671], [49.9445, 6.3821], [53.4793, 10.2415], [53.5598, 9.9874], [53.6332, 9.9881], [53.4213, 10.1462], [53.4777, 9.8957], [53.4699, 10.1804], [53.5467, 9.9662], [53.5853, 10.1293], [52.0848, 9.3896], [50.1205, 8.9243], [52.7199, 10.5987], [52.4644, 9.6779], [48.7918, 10.7062], [51.9002, 10.5699], [51.652, 11.1367], [53.6342, 9.6038], [51.6868, 10.8631], [48.8629, 13.067], [48.3751, 8.9801], [54.2181, 9.0853], [49.4206, 8.6676], [49.3981, 8.7251], [49.4192, 8.6051], [48.6765, 10.1307], [50.1691, 7.9949], [49.1448, 9.2333], [51.0411, 6.1042], [54.175, 7.892], [52.2164, 11.0219], [53.9701, 9.0095], [52.1264, 8.6865], [51.0048, 10.1705], [48.8042, 8.443], [48.5915, 8.8541], [50.8444, 10.6904], [51.0167, 14.75], [49.7672, 7.3356], [50.8519, 9.7378], [51.589, 7.1548], [51.6255, 10.3695], [54.575, 13.1044], [52.1408, 9.8838], [50.7371, 7.6528], [47.5408, 10.4371], [50.3674, 10.5687], [50.9167, 14.3667], [50.4707, 10.9106], [47.8983, 8.1055], [47.7327, 8.1627], [49.1279, 12.8645], [50.899, 14.7457], [50.323, 11.9077], [50.3122, 11.8761], [51.5337, 9.4786], [50.1352, 10.5156], [52.6667, 12.3333], [47.8009, 11.0108], [54.1195, 9.7127], [50.9632, 11.4847], [54.3146, 9.539], [54.3194, 10.6732], [51.7657, 13.1666], [50.2182, 7.9133], [47.8823, 11.6962], [51.8529, 9.4953], [51.7659, 9.5447], [50.7316, 9.0032], [49.3278, 7.3533], [52.3333, 7.55], [50.1511, 11.698], [48.6136, 8.2034], [47.6227, 8.0177], [51.4379, 14.2426], [48.6018, 11.6769], [50.5651, 7.4843], [54.4752, 9.0564], [49.6927, 7.3264], [48.0419, 7.6322], [51.8667, 10.6833], [49.2967, 9.652], [48.7662, 11.4539], [48.7112, 11.5362], [48.1644, 12.0307], [51.3768, 7.7644], [47.6894, 10.0416], [53.9897, 9.5696], [52.0547, 13.2344], [54.457, 9.5203], [50.9251, 11.583], [51.7954, 12.9583], [53.5322, 7.8806], [53.5316, 9.6752], [50.9104, 6.4093], [52.0, 13.1009], [47.5938, 7.9597], [50.0643, 8.993], [51.1803, 8.4891], [48.9171, 9.6872], [49.4262, 7.7557], [48.7701, 10.7876], [51.7329, 6.2688], [50.5014, 6.5264], [51.318, 10.1348], [50.6266, 10.1455], [51.2667, 14.0833], [48.6765, 11.2961], [49.0382, 8.3641], [51.2963, 9.4424], [51.334, 9.4506], [51.3173, 9.4145], [47.8652, 10.6007], [48.0916, 10.8609], [48.5576, 7.88], [47.7233, 10.3348], [54.3761, 10.1433], [54.3378, 10.0929], [49.1804, 9.98], [53.9995, 11.4341], [50.2241, 10.0792], [49.7363, 10.1781], [50.2218, 8.4469], [53.9587, 10.3293], [50.8458, 10.4803], [52.4036, 13.2319], [51.5555, 13.8845], [51.7612, 6.0954], [48.1054, 8.7549], [51.5185, 12.9065], [49.0265, 8.7554], [50.3369, 7.5992], [50.9615, 6.9712], [50.8646, 7.1575], [48.1413, 8.4285], [50.284, 10.4456], [53.2279, 9.6527], [48.6707, 11.2173], [50.1855, 8.4698], [48.8302, 11.4872], [51.1329, 11.7252], [51.855, 9.3239], [51.7511, 12.0094], [47.6652, 11.0804], [47.6774, 9.1901], [47.6605, 9.1634], [51.2662, 8.8309], [47.6447, 11.7436], [50.2523, 11.3209], [47.9077, 7.702], [48.251, 10.4163], [53.9015, 10.2359], [49.4283, 11.9016], [49.2795, 9.6925], [50.1003, 11.4494], [48.5126, 12.1513], [49.5592, 7.4134], [52.9363, 12.4093], [53.9156, 12.279], [48.3647, 7.828], [48.5121, 9.7645], [51.9603, 10.0157], [48.0772, 10.9144], [48.0349, 10.8709], [48.5357, 12.1132], [50.0075, 8.6547], [51.9173, 13.0878], [51.1173, 10.6568], [53.7445, 7.4775], [52.8457, 7.3489], [51.391, 11.8788], [49.5781, 9.7142], [48.2176, 9.9097], [51.6323, 10.4737], [48.1849, 10.8507], [54.775, 8.9808], [54.7903, 8.9514], [54.7419, 9.8791], [50.4833, 11.45], [48.7654, 12.5121], [47.9116, 10.6124], [51.3933, 10.3123], [51.3151, 12.4462], [51.392, 12.3962], [51.4348, 12.2396], [51.1333, 8.0348], [48.5396, 9.5275], [54.219, 10.8844], [53.1007, 11.4864], [47.8597, 8.2308], [54.4996, 10.2737], [51.3167, 12.0333], [50.9894, 6.9777], [50.9383, 14.2093], [48.7726, 8.7287], [48.0674, 7.677], [50.4116, 8.0605], [49.4111, 8.398], [52.2085, 14.118], [47.598, 9.8878], [49.68, 8.7823], [49.7117, 8.7804], [52.5181, 7.3081], [51.7855, 8.8388], [51.6336, 8.3945], [55.011, 8.4125], [50.4505, 11.635], [50.5617, 8.2386], [52.7198, 7.7472], [52.7432, 7.8763], [50.0103, 9.61], [50.0352, 7.8197], [49.4606, 8.4246], [51.9333, 13.8833], [51.9267, 13.8797], [53.8773, 10.6915], [53.8025, 10.6988], [53.8953, 10.704], [52.9724, 11.1374], [51.2131, 7.6359], [51.2452, 7.6425], [51.7694, 7.4128], [53.2657, 10.424], [50.7663, 10.7201], [52.1029, 11.5827], [49.0643, 9.582], [49.9656, 8.2139], [48.2166, 11.2965], [48.7726, 12.2177], [50.1015, 6.8009], [52.5468, 14.5452], [51.6084, 11.4139], [50.8492, 8.7746], [50.651, 13.1469], [50.662, 7.9602], [54.4937, 11.2405], [53.3223, 11.9319], [50.7334, 10.8815], [48.9359, 13.5747], [50.3249, 7.23], [52.3411, 9.1403], [47.6985, 9.2753], [51.7259, 11.5109], [51.8936, 8.9842], [51.0976, 7.667], [50.5612, 10.3771], [51.1294, 13.4327], [52.2044, 8.3382], [47.982, 10.1384], [47.9833, 10.2333], [50.3667, 7.3167], [47.8309, 8.0699], [52.7156, 7.3176], [49.4773, 9.7622], [49.922, 9.2872], [48.1694, 8.9433], [48.8548, 12.9189], [49.507, 6.5215], [48.5376, 9.2733], [49.6691, 9.0085], [49.7176, 9.0997], [50.7281, 11.7838], [49.712, 9.2258], [50.2285, 9.1064], [47.4779, 11.2653], [49.7328, 8.7771], [53.6128, 10.6943], [49.7644, 9.253], [51.197, 6.4499], [50.4383, 7.8061], [51.7209, 9.8352], [48.9721, 8.8734], [48.2791, 12.5024], [51.2076, 10.3956], [52.5176, 14.1232], [48.1631, 11.5429], [48.1441, 11.6], [48.1635, 11.5019], [48.166, 11.5011], [48.0919, 11.6486], [48.1369, 11.7094], [48.3851, 9.4837], [51.9494, 7.5906], [48.9729, 9.5708], [51.566, 14.7009], [48.5667, 8.7184], [50.3574, 8.7506], [53.5468, 13.1914], [48.7097, 11.2096], [48.3115, 10.3773], [49.2931, 9.2722], [50.5346, 7.0853], [53.102, 13.0421], [50.5, 11.15], [50.5002, 11.1344], [47.976, 8.9101], [47.9519, 8.9932], [50.8923, 9.405], [54.3609, 10.6015], [54.0873, 9.9791], [50.8446, 7.372], [50.8956, 7.3081], [49.344, 7.2297], [52.9037, 12.8072], [49.5728, 10.6001], [49.8174, 11.8638], [49.357, 8.1405], [49.3478, 8.1822], [53.3585, 13.0502], [48.9832, 12.1443], [50.2335, 8.8923], [50.6743, 6.424], [50.4107, 7.808], [49.3895, 9.9666], [48.5334, 10.243], [52.6711, 9.2229], [48.8253, 10.5067], [50.8294, 6.6602], [53.7123, 7.1519], [53.7647, 8.6583], [52.4124, 7.064], [50.9095, 7.5725], [50.3391, 6.9501], [50.3601, 6.8697], [49.5008, 11.107], [49.4258, 11.2538], [49.503, 11.0549], [48.6321, 9.3261], [48.6207, 8.8962], [47.6187, 12.1666], [50.7005, 10.7256], [47.878, 7.8288], [48.3147, 8.5735], [48.2443, 11.5528], [47.5619, 10.0313], [47.3986, 10.276], [49.128, 9.3525], [48.2635, 12.276], [49.4521, 12.4366], [51.6018, 9.5383], [48.0449, 9.8822], [50.03, 11.8074], [52.2042, 7.1784], [49.207, 9.5175], [50.0946, 8.7546], [48.4593, 7.9255], [50.8646, 14.7628], [53.1018, 8.2516], [53.1763, 8.1824], [51.296, 13.0928], [52.2553, 8.0534], [52.7167, 11.7333], [51.0873, 11.9292], [49.5033, 7.2773], [50.4538, 10.2211], [47.6383, 10.4313], [47.6362, 10.3892], [53.0643, 7.4814], [49.151, 11.6896], [48.5807, 13.4152], [48.5779, 13.4694], [50.5999, 11.9966], [54.0893, 10.8773], [49.5114, 6.3857], [49.5354, 6.3789], [51.9893, 13.3608], [49.1162, 10.8598], [48.9059, 8.7412], [48.9329, 8.6973], [47.9344, 9.2869], [49.2511, 8.4415], [49.1912, 7.5879], [50.4819, 12.13], [54.159, 10.402], [49.5058, 11.5142], [49.4777, 11.5357], [52.3813, 13.0622], [52.3822, 13.0622], [47.8588, 12.3624], [48.1877, 11.2206], [54.3643, 13.4771], [52.6691, 7.9544], [51.7953, 11.132], [51.3895, 11.5412], [53.7276, 9.9071], [53.7331, 9.8776], [47.7458, 9.0007], [52.4461, 8.5906], [47.9091, 11.1048], [48.8471, 8.1869], [51.1765, 11.4183], [47.7327, 12.6827], [47.8062, 9.6206], [51.6243, 7.182], [49.0424, 12.1021], [47.7238, 12.874], [50.9906, 7.6958], [50.5602, 13.2222], [47.6783, 8.1527], [51.18, 7.2505], [54.2878, 9.6749], [50.5052, 7.4881], [48.7425, 8.924], [48.5051, 9.1833], [48.6703, 7.9939], [52.2887, 7.3866], [47.559, 7.7721], [48.9726, 8.3301], [48.1479, 9.4596], [50.5263, 12.4091], [50.3833, 9.5167], [50.6407, 6.2058], [47.8754, 12.128], [54.1803, 12.0808], [53.1288, 9.3398], [49.2511, 11.0934], [49.2164, 11.1036], [49.3848, 10.1732], [52.1038, 8.1808], [47.6819, 11.7714], [48.4704, 8.9687], [48.1814, 8.6356], [49.8502, 7.871], [47.731, 12.661], [54.0934, 10.2223], [49.6468, 7.8837], [48.8765, 13.049], [48.8026, 8.9557], [50.6563, 11.3894], [49.2128, 7.1077], [49.2231, 7.0168], [49.3256, 6.7354], [51.5909, 10.5691], [48.9569, 9.071], [47.5619, 7.9399], [48.7832, 13.3146], [52.0355, 10.3054], [52.0781, 9.552], [52.1042, 8.7521], [52.8568, 11.143], [50.3517, 10.0034], [47.761, 8.1247], [48.0091, 8.0966], [53.9878, 9.1125], [54.3279, 8.6031], [49.4672, 7.2036], [49.5025, 7.202], [51.6334, 8.1872], [49.9195, 8.9671], [47.9556, 7.7134], [49.4864, 7.029], [47.588, 9.85], [48.1994, 9.77], [50.8166, 9.846], [49.975, 11.0395], [51.9119, 9.1533], [51.7658, 10.6533], [50.5679, 11.8041], [54.5275, 9.5487], [54.5227, 9.5649], [47.7358, 11.8505], [49.7961, 7.7583], [47.8208, 8.186], [50.3849, 9.5358], [50.3447, 9.5534], [53.6615, 10.2543], [50.725, 10.4539], [51.8833, 10.7667], [49.4149, 6.836], [50.6546, 10.7693], [50.5, 12.45], [50.2968, 6.4194], [48.7859, 8.6451], [50.2046, 12.1435], [48.1002, 8.1969], [48.1402, 8.1991], [47.6463, 7.8439], [49.1643, 12.6175], [50.4925, 9.1226], [51.8369, 10.4312], [49.3261, 11.012], [48.7768, 9.8025], [49.0817, 9.6868], [48.3667, 11.8], [50.1394, 8.0627], [49.3278, 12.087], [51.9639, 11.1208], [47.5769, 10.7181], [50.644, 11.1937], [51.5167, 14.35], [50.5513, 12.7678], [50.0575, 10.216], [53.6425, 11.3872], [54.5166, 9.142], [52.8911, 11.7297], [50.8698, 7.3228], [51.904, 10.1885], [53.9278, 10.2993], [50.1969, 12.1727], [50.8534, 7.9966], [48.1, 9.25], [48.0719, 9.1942], [47.5776, 9.7404], [49.7595, 12.3891], [48.2719, 13.0273], [49.9996, 7.5981], [49.2447, 8.8787], [50.2882, 9.4583], [51.1402, 7.093], [52.9604, 9.793], [51.352, 10.9059], [50.3746, 11.1828], [51.0607, 9.9266], [51.2801, 9.9849], [49.7858, 11.8211], [51.604, 12.1093], [50.1531, 11.7403], [47.9869, 7.9466], [53.6946, 8.8735], [51.3629, 9.6902], [53.5527, 9.6094], [51.6646, 10.8811], [47.8591, 9.0152], [48.6657, 9.8646], [54.6654, 9.805], [48.8275, 12.5598], [48.7896, 9.2167], [48.7693, 9.1814], [48.8282, 9.2], [48.6883, 9.2235], [48.7091, 9.2147], [51.7333, 11.1167], [52.5447, 11.9724], [50.639, 10.0228], [49.6122, 9.6747], [47.7099, 11.7639], [50.9771, 12.3419], [53.761, 12.5574], [53.2758, 8.9857], [50.4002, 11.3889], [52.2333, 12.05], [49.4738, 7.0386], [49.885, 9.8469], [50.843, 10.1613], [49.8576, 12.3542], [47.9394, 8.1933], [47.8991, 8.146], [47.728, 7.9988], [47.7566, 11.5819], [51.2897, 6.4437], [51.7643, 9.5628], [51.5833, 13.0], [47.8663, 12.6566], [47.8516, 12.6182], [53.9619, 10.8892], [54.5337, 13.246], [48.1316, 8.2283], [48.1288, 8.233], [54.0661, 12.7675], [49.7326, 6.6131], [49.7479, 6.6582], [48.3132, 9.2472], [48.2814, 9.3137], [53.5997, 13.3039], [48.0311, 12.5396], [48.5198, 9.0515], [48.0083, 8.8179], [47.9682, 8.79], [51.3344, 8.9132], [47.7713, 9.1562], [53.7444, 14.0697], [52.9414, 10.5289], [49.5741, 10.1916], [48.3837, 9.9524], [52.1601, 11.1759], [52.8499, 10.2898], [48.4951, 9.4003], [49.5933, 11.0704], [48.0453, 8.4608], [52.8318, 8.3112], [49.2581, 6.8612], [49.2495, 6.8804], [48.0908, 7.6353], [52.103, 9.5845], [52.0722, 11.0222], [49.2445, 8.5374], [50.8119, 9.128], [51.6194, 9.5749], [53.9224, 10.2267], [51.1197, 13.6744], [48.8279, 9.3228], [48.4918, 8.5612], [47.976, 8.1558], [51.207, 9.0658], [50.2596, 8.3607], [48.9293, 13.4641], [50.0097, 12.2979], [47.6172, 8.2388], [50.8963, 10.5484], [53.7852, 7.8533], [51.504, 9.1118], [53.5196, 12.6654], [50.6271, 9.442], [48.0572, 12.2202], [50.4973, 9.9428], [47.5714, 12.9337], [49.6663, 12.1845], [49.1965, 10.6487], [49.59, 10.2588], [48.4025, 11.6946], [50.4732, 8.2588], [50.9751, 11.3076], [51.0176, 11.3544], [49.3758, 8.1213], [49.1512, 9.292], [53.0333, 11.8], [49.5534, 6.812], [50.0858, 11.2364], [48.8457, 8.9073], [49.0116, 10.9308], [51.2002, 11.9154], [51.212, 10.9956], [48.188, 7.6977], [48.1477, 8.6954], [52.0654, 14.6898], [47.7035, 12.0119], [51.5763, 7.8879], [49.9622, 10.0482], [51.8454, 10.7686], [49.7667, 9.5428], [54.8991, 8.3123], [54.5284, 11.0605], [51.617, 10.5843], [47.8827, 11.1576], [50.0681, 8.2603], [50.132, 8.317], [50.0863, 8.1872], [52.1207, 12.4585], [48.7848, 8.5764], [48.7501, 8.5365], [48.6516, 8.6801], [51.1056, 9.1081], [53.5901, 8.106], [51.294, 8.6026], [51.2818, 8.6673], [48.8031, 9.4699], [51.1968, 8.5268], [53.9026, 11.4254], [51.8892, 12.6445], [53.5504, 7.6672], [53.1833, 12.5167], [53.1864, 12.4949], [51.3493, 9.8438], [49.2178, 10.2296], [53.4618, 13.6099], [48.2953, 8.2391], [47.818, 9.797], [52.4411, 10.7587], [52.3962, 10.6892], [49.5811, 7.6234], [49.6051, 8.3659], [49.7964, 9.8949], [49.7703, 9.9577], [49.7995, 9.928], [52.4605, 9.4311], [51.2256, 7.1052], [51.2051, 7.2], [52.8039, 12.8714], [47.6783, 8.3801], [54.6928, 8.5271], [52.9664, 13.3268], [51.0314, 12.1495], [51.9642, 12.0996], [54.0801, 13.8989], [50.7314, 13.7516], [47.4209, 10.9847], [50.6878, 12.4329], [49.028, 13.2385], [49.0007, 13.2137], [52.8482, 8.719], [52.863, 8.6988], [52.6198, 12.7867], [53.1007, 11.0455], [53.3881, 7.2287], [48.6669, 8.4699], [48.5451, 13.3531], [49.9462, 7.2645], [48.6582, 9.4203], [47.6777, 11.0473], [48.8943, 9.2058], [48.6493, 11.7772], [49.5062, 8.5585], [51.1318, 9.5189], [50.4485, 7.4275], [54.641, 10.0238], [47.6754, 12.4698], [48.8787, 9.6342], [52.7786, 13.759], [53.2139, 10.4704], [51.0838, 13.4486], [54.3194, 9.8051], [53.3837, 14.3728], [53.8545, 13.4949], [54.267, 13.143], [51.0593, 14.4266], [53.641, 8.0808], [49.2247, 10.6084], [52.9542, 7.3196], [54.1654, 10.3519], [52.0192, 14.7254], [48.7757, 12.1743], [53.5333, 8.1667], [50.1989, 7.8651], [50.1587, 12.0386], [51.8664, 9.2709], [54.2484, 13.0418], [49.2406, 6.9351], [48.8768, 11.1043], [47.6845, 9.4409], [49.021, 9.6032], [49.3328, 9.704], [48.7695, 9.8737], [47.7738, 8.8219], [51.414, 8.65], [52.3613, 12.3867], [52.0304, 10.9626], [50.8426, 10.2518], [52.5075, 11.8551], [48.6705, 9.4627], [49.3533, 11.5053], [51.2061, 10.4978], [54.1049, 13.8239], [49.5314, 10.6418], [51.0507, 13.3003], [50.0132, 9.654], [51.7663, 7.5193], [50.394, 8.1423], [48.207, 11.2035], [50.0579, 10.2972], [48.702, 11.8493], [52.0111, 10.3966], [47.835, 12.6548], [52.0714, 8.4565], [47.9655, 9.6804], [49.7636, 9.4063], [53.1424, 13.0319], [54.5268, 9.0425], [48.7351, 10.7415], [51.1507, 11.3321], [47.4167, 10.9794], [50.5467, 12.2863], [51.4634, 7.978], [48.6099, 10.2674], [50.09, 8.7862], [50.6199, 13.4816], [49.1088, 12.8231], [53.3175, 13.4175], [51.682, 12.3042], [51.9644, 9.8072], [51.0007, 10.3621], [49.1623, 10.3662], [49.3909, 12.6838], [53.5984, 6.7024], [52.0814, 6.941], [52.7461, 13.8427], [51.4493, 14.2533], [50.0315, 11.9745], [48.6596, 12.5388], [50.5084, 9.2247], [47.7955, 10.0324], [50.7513, 9.0224], [50.0083, 9.4239], [50.661, 12.0757], [51.1044, 11.7112], [47.7724, 12.9073], [54.0188, 9.9255], [50.4167, 10.8156], [48.013, 11.5524], [52.6423, 10.6627], [51.5088, 6.7018], [49.2942, 8.9054], [52.0818, 9.4077], [51.5966, 7.4049], [51.3329, 7.3411], [48.5734, 12.2576], [50.6819, 11.515], [51.0899, 7.629], [52.1789, 9.9524], [52.2467, 10.9592], [54.0167, 8.3167], [55.0, 6.3333], [48.2639, 8.8134], [52.1655, 14.1224], [50.1505, 6.5526], [50.7983, 6.0244], [51.2835, 9.359], [48.4418, 9.9216], [53.5467, 9.9716], [47.8761, 10.5848], [49.341, 12.133], [49.2121, 7.5882], [51.3258, 6.5089], [50.3102, 9.7838]];
var map = map_stations;
var cluster = L.markerClusterGroup();
for (var i = 0; i < data.length; i++) {
var row = data[i];
var marker = callback(row);
marker.addTo(cluster);
}
cluster.addTo(map);
})();
});
</script>