Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
SimStadt
archetypen
Commits
b007b252
Commit
b007b252
authored
Apr 01, 2025
by
Eric Duminil
Browse files
With reset button
parent
437f1321
Pipeline
#11036
passed with stages
in 12 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
public/baden-wuerttemberg.html
View file @
b007b252
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,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_
b6abefac04da6989a2ced67d6597b3a8
{
#map_
ab0380794fce0cfbe201d6de66e2ab2a
{
position: relative;
position: relative;
width: 100.0%;
width: 100.0%;
height: 100.0%;
height: 100.0%;
...
@@ -45,15 +45,72 @@
...
@@ -45,15 +45,72 @@
<h1>Quartiersarchetypen in Baden-Württemberg</h1>
<h1>Quartiersarchetypen in Baden-Württemberg</h1>
<div class="folium-map" id="map_b6abefac04da6989a2ced67d6597b3a8" ></div>
<script>
// Wait for the page to fully load
window.addEventListener('load', function() {
// Create the reset button
var resetButton = document.createElement('a');
resetButton.innerHTML = '🏠';
resetButton.title = 'Reset view';
resetButton.href = '#';
resetButton.className = 'leaflet-control-zoom-home leaflet-bar-part';
resetButton.style.fontSize = '18px';
resetButton.style.lineHeight = '26px';
resetButton.style.textAlign = 'center';
resetButton.style.textDecoration = 'none';
resetButton.style.fontWeight = 'bold';
// Create a container div that matches Leaflet's control style
var container = document.createElement('div');
container.className = 'leaflet-control-zoom-home leaflet-bar leaflet-control';
container.appendChild(resetButton);
// Find the zoom control container
var zoomControl = document.querySelector('.leaflet-control-zoom');
if (zoomControl) {
// Insert our control after the zoom control
zoomControl.parentNode.insertBefore(container, zoomControl.nextSibling);
} else {
// Fallback: add to top left controls if zoom control not found
var topLeftControls = document.querySelector('.leaflet-top.leaflet-left');
if (topLeftControls) {
topLeftControls.appendChild(container);
}
}
// Add click event listener
resetButton.addEventListener('click', function(e) {
// Prevent default action (avoid href navigation)
e.preventDefault();
// Stop event propagation to prevent click on map
e.stopPropagation();
// Find all map variables in the global scope
for (var key in window) {
// Look for objects that seem to be Leaflet maps
if (window[key] &&
typeof window[key].setView === 'function' &&
typeof window[key].getCenter === 'function') {
// Reset the view of any found map
window[key].fitBounds([[47.53564, 7.52587], [49.78976, 10.4856]]);
// We found a map and reset it, exit the loop
break;
}
}
});
});
</script>
<div class="folium-map" id="map_ab0380794fce0cfbe201d6de66e2ab2a" ></div>
</body>
</body>
<script>
<script>
const qa_names = ['QA1 (EFH/ZFH)', 'QA2 (MFH)', 'QA3 (MFH groß)', 'QA4 (Innenstadtwohnen)', 'QA5 (Gewerbe)'];const qa_colors = ['cadetblue', 'darkgreen', 'darkred', 'beige', 'black'];const qa_icons = ['house-chimney', 'building', 'city', 'landmark', 'industry']
const qa_names = ['QA1 (EFH/ZFH)', 'QA2 (MFH)', 'QA3 (MFH groß)', 'QA4 (Innenstadtwohnen)', 'QA5 (Gewerbe)'];const qa_colors = ['cadetblue', 'darkgreen', 'darkred', 'beige', 'black'];const qa_icons = ['house-chimney', 'building', 'city', 'landmark', 'industry']
var map_
b6abefac04da6989a2ced67d6597b3a8
= L.map(
var map_
ab0380794fce0cfbe201d6de66e2ab2a
= L.map(
"map_
b6abefac04da6989a2ced67d6597b3a8
",
"map_
ab0380794fce0cfbe201d6de66e2ab2a
",
{
{
center: [0.0, 0.0],
center: [0.0, 0.0],
crs: L.CRS.EPSG3857,
crs: L.CRS.EPSG3857,
...
@@ -66,20 +123,20 @@
...
@@ -66,20 +123,20 @@
}
}
);
);
L.control.scale().addTo(map_
b6abefac04da6989a2ced67d6597b3a8
);
L.control.scale().addTo(map_
ab0380794fce0cfbe201d6de66e2ab2a
);
map_
b6abefac04da6989a2ced67d6597b3a8
.fitBounds(
map_
ab0380794fce0cfbe201d6de66e2ab2a
.fitBounds(
[[47.53564, 7.52587], [49.78976, 10.4856]],
[[47.53564, 7.52587], [49.78976, 10.4856]],
{}
{}
);
);
var geocoderOpts_geocoder_2
b24028c50a1bae8edb8504894d453c1
= {
var geocoderOpts_geocoder_2
91fd861f201852fb40cef15a7a77b63
= {
"collapsed": false,
"collapsed": false,
"position": "topright",
"position": "topright",
"defaultMarkGeocode": true,
"defaultMarkGeocode": true,
...
@@ -90,23 +147,23 @@
...
@@ -90,23 +147,23 @@
};
};
// note: geocoder name should start with lowercase
// note: geocoder name should start with lowercase
var geocoderName_geocoder_2
b24028c50a1bae8edb8504894d453c1 = geocoderOpts_geocoder_2b24028c50a1bae8edb8504894d453c1
["provider"];
var geocoderName_geocoder_2
91fd861f201852fb40cef15a7a77b63 = geocoderOpts_geocoder_291fd861f201852fb40cef15a7a77b63
["provider"];
var customGeocoder_geocoder_2
b24028c50a1bae8edb8504894d453c1
= L.Control.Geocoder[ geocoderName_geocoder_2
b24028c50a1bae8edb8504894d453c1
](
var customGeocoder_geocoder_2
91fd861f201852fb40cef15a7a77b63
= L.Control.Geocoder[ geocoderName_geocoder_2
91fd861f201852fb40cef15a7a77b63
](
geocoderOpts_geocoder_2
b24028c50a1bae8edb8504894d453c1
['providerOptions']
geocoderOpts_geocoder_2
91fd861f201852fb40cef15a7a77b63
['providerOptions']
);
);
geocoderOpts_geocoder_2
b24028c50a1bae8edb8504894d453c1
["geocoder"] = customGeocoder_geocoder_2
b24028c50a1bae8edb8504894d453c1
;
geocoderOpts_geocoder_2
91fd861f201852fb40cef15a7a77b63
["geocoder"] = customGeocoder_geocoder_2
91fd861f201852fb40cef15a7a77b63
;
L.Control.geocoder(
L.Control.geocoder(
geocoderOpts_geocoder_2
b24028c50a1bae8edb8504894d453c1
geocoderOpts_geocoder_2
91fd861f201852fb40cef15a7a77b63
).on('markgeocode', function(e) {
).on('markgeocode', function(e) {
var zoom = geocoderOpts_geocoder_2
b24028c50a1bae8edb8504894d453c1['zoom'] || map_b6abefac04da6989a2ced67d6597b3a8
.getZoom();
var zoom = geocoderOpts_geocoder_2
91fd861f201852fb40cef15a7a77b63['zoom'] || map_ab0380794fce0cfbe201d6de66e2ab2a
.getZoom();
map_
b6abefac04da6989a2ced67d6597b3a8
.setView(e.geocode.center, zoom);
map_
ab0380794fce0cfbe201d6de66e2ab2a
.setView(e.geocode.center, zoom);
}).addTo(map_
b6abefac04da6989a2ced67d6597b3a8
);
}).addTo(map_
ab0380794fce0cfbe201d6de66e2ab2a
);
var tile_layer_
5b7d472b572329325394105e236ce
72
d
= L.tileLayer(
var tile_layer_
7b252588b861f897a4bf25b1bc2b92
72 = L.tileLayer(
"https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png",
"https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png",
{
{
"minZoom": 0,
"minZoom": 0,
...
@@ -123,10 +180,10 @@
...
@@ -123,10 +180,10 @@
);
);
tile_layer_
5b7d472b572329325394105e236ce
72
d
.addTo(map_
b6abefac04da6989a2ced67d6597b3a8
);
tile_layer_
7b252588b861f897a4bf25b1bc2b92
72.addTo(map_
ab0380794fce0cfbe201d6de66e2ab2a
);
var tile_layer_
eb63a09f1138d910b21ff0dac2ccd9e4
= L.tileLayer(
var tile_layer_
aea7df31e2a8413483b4312446d913cd
= L.tileLayer(
"https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}",
"https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}",
{
{
"minZoom": 0,
"minZoom": 0,
...
@@ -143,10 +200,10 @@
...
@@ -143,10 +200,10 @@
);
);
tile_layer_
eb63a09f1138d910b21ff0dac2ccd9e4.addTo(map_b6abefac04da6989a2ced67d6597b3a8
);
tile_layer_
aea7df31e2a8413483b4312446d913cd.addTo(map_ab0380794fce0cfbe201d6de66e2ab2a
);
var fast_marker_cluster_
73b2f3dcdc753ee4a4cd790154deb48e
= (function(){
var fast_marker_cluster_
c41ff8a3de36e81e520368869ee42361
= (function(){
var callback = function (row) {
var callback = function (row) {
let [lat, lon, plz, qa, inhabitants, distribution] = row;
let [lat, lon, plz, qa, inhabitants, distribution] = row;
var marker = L.marker(new L.LatLng(lat, lon), { color: "red" });
var marker = L.marker(new L.LatLng(lat, lon), { color: "red" });
...
@@ -238,15 +295,15 @@
...
@@ -238,15 +295,15 @@
marker.addTo(cluster);
marker.addTo(cluster);
}
}
cluster.addTo(map_
b6abefac04da6989a2ced67d6597b3a8
);
cluster.addTo(map_
ab0380794fce0cfbe201d6de66e2ab2a
);
return cluster;
return cluster;
})();
})();
fast_marker_cluster_
73b2f3dcdc753ee4a4cd790154deb48e.addTo(map_b6abefac04da6989a2ced67d6597b3a8
);
fast_marker_cluster_
c41ff8a3de36e81e520368869ee42361.addTo(map_ab0380794fce0cfbe201d6de66e2ab2a
);
var fast_marker_cluster_
512d022e035c0996aa109a7405367817
= (function(){
var fast_marker_cluster_
a0d750ea7d2729b0c87b8d05b23b12e5
= (function(){
var callback = function (row) {
var callback = function (row) {
let [lat, lon, plz, qa, inhabitants, distribution] = row;
let [lat, lon, plz, qa, inhabitants, distribution] = row;
var marker = L.marker(new L.LatLng(lat, lon), { color: "red" });
var marker = L.marker(new L.LatLng(lat, lon), { color: "red" });
...
@@ -338,15 +395,15 @@
...
@@ -338,15 +395,15 @@
marker.addTo(cluster);
marker.addTo(cluster);
}
}
cluster.addTo(map_
b6abefac04da6989a2ced67d6597b3a8
);
cluster.addTo(map_
ab0380794fce0cfbe201d6de66e2ab2a
);
return cluster;
return cluster;
})();
})();
fast_marker_cluster_
512d022e035c0996aa109a7405367817.addTo(map_b6abefac04da6989a2ced67d6597b3a8
);
fast_marker_cluster_
a0d750ea7d2729b0c87b8d05b23b12e5.addTo(map_ab0380794fce0cfbe201d6de66e2ab2a
);
var fast_marker_cluster_
13b2d5149190ecc73da75db52da8aaff
= (function(){
var fast_marker_cluster_
49d8feed25e92d6d3868b01178eb4747
= (function(){
var callback = function (row) {
var callback = function (row) {
let [lat, lon, plz, qa, inhabitants, distribution] = row;
let [lat, lon, plz, qa, inhabitants, distribution] = row;
var marker = L.marker(new L.LatLng(lat, lon), { color: "red" });
var marker = L.marker(new L.LatLng(lat, lon), { color: "red" });
...
@@ -438,15 +495,15 @@
...
@@ -438,15 +495,15 @@
marker.addTo(cluster);
marker.addTo(cluster);
}
}
cluster.addTo(map_
b6abefac04da6989a2ced67d6597b3a8
);
cluster.addTo(map_
ab0380794fce0cfbe201d6de66e2ab2a
);
return cluster;
return cluster;
})();
})();
fast_marker_cluster_
13b2d5149190ecc73da75db52da8aaff.addTo(map_b6abefac04da6989a2ced67d6597b3a8
);
fast_marker_cluster_
49d8feed25e92d6d3868b01178eb4747.addTo(map_ab0380794fce0cfbe201d6de66e2ab2a
);
var fast_marker_cluster_
82a4751f820cd14574a2dbf6c607820d
= (function(){
var fast_marker_cluster_
354d3b7caafd7203a37a488b4736a028
= (function(){
var callback = function (row) {
var callback = function (row) {
let [lat, lon, plz, qa, inhabitants, distribution] = row;
let [lat, lon, plz, qa, inhabitants, distribution] = row;
var marker = L.marker(new L.LatLng(lat, lon), { color: "red" });
var marker = L.marker(new L.LatLng(lat, lon), { color: "red" });
...
@@ -538,15 +595,15 @@
...
@@ -538,15 +595,15 @@
marker.addTo(cluster);
marker.addTo(cluster);
}
}
cluster.addTo(map_
b6abefac04da6989a2ced67d6597b3a8
);
cluster.addTo(map_
ab0380794fce0cfbe201d6de66e2ab2a
);
return cluster;
return cluster;
})();
})();
fast_marker_cluster_
82a4751f820cd14574a2dbf6c607820d.addTo(map_b6abefac04da6989a2ced67d6597b3a8
);
fast_marker_cluster_
354d3b7caafd7203a37a488b4736a028.addTo(map_ab0380794fce0cfbe201d6de66e2ab2a
);
var fast_marker_cluster_
6898f8ff10a575e3925c90c02a88418d
= (function(){
var fast_marker_cluster_
df7d2e4306ceadadabd8eb48c24f09c9
= (function(){
var callback = function (row) {
var callback = function (row) {
let [lat, lon, plz, qa, inhabitants, distribution] = row;
let [lat, lon, plz, qa, inhabitants, distribution] = row;
var marker = L.marker(new L.LatLng(lat, lon), { color: "red" });
var marker = L.marker(new L.LatLng(lat, lon), { color: "red" });
...
@@ -638,36 +695,36 @@
...
@@ -638,36 +695,36 @@
marker.addTo(cluster);
marker.addTo(cluster);
}
}
cluster.addTo(map_
b6abefac04da6989a2ced67d6597b3a8
);
cluster.addTo(map_
ab0380794fce0cfbe201d6de66e2ab2a
);
return cluster;
return cluster;
})();
})();
fast_marker_cluster_
6898f8ff10a575e3925c90c02a88418d.addTo(map_b6abefac04da6989a2ced67d6597b3a8
);
fast_marker_cluster_
df7d2e4306ceadadabd8eb48c24f09c9.addTo(map_ab0380794fce0cfbe201d6de66e2ab2a
);
var layer_control_
680884b65a16783bbfc175aebe851774
_layers = {
var layer_control_
9e19cbfa13aaad6d6ca71aaa21ca7898
_layers = {
base_layers : {
base_layers : {
"CartoDB" : tile_layer_
5b7d472b572329325394105e236ce
72
d
,
"CartoDB" : tile_layer_
7b252588b861f897a4bf25b1bc2b92
72,
"Satellite" : tile_layer_
eb63a09f1138d910b21ff0dac2ccd9e4
,
"Satellite" : tile_layer_
aea7df31e2a8413483b4312446d913cd
,
},
},
overlays : {
overlays : {
"QA1 (EFH/ZFH)" : fast_marker_cluster_
73b2f3dcdc753ee4a4cd790154deb48e
,
"QA1 (EFH/ZFH)" : fast_marker_cluster_
c41ff8a3de36e81e520368869ee42361
,
"QA2 (MFH)" : fast_marker_cluster_
512d022e035c0996aa109a7405367817
,
"QA2 (MFH)" : fast_marker_cluster_
a0d750ea7d2729b0c87b8d05b23b12e5
,
"QA3 (MFH gro\u00df)" : fast_marker_cluster_
13b2d5149190ecc73da75db52da8aaff
,
"QA3 (MFH gro\u00df)" : fast_marker_cluster_
49d8feed25e92d6d3868b01178eb4747
,
"QA4 (Innenstadtwohnen)" : fast_marker_cluster_
82a4751f820cd14574a2dbf6c607820d
,
"QA4 (Innenstadtwohnen)" : fast_marker_cluster_
354d3b7caafd7203a37a488b4736a028
,
"QA5 (Gewerbe)" : fast_marker_cluster_
6898f8ff10a575e3925c90c02a88418d
,
"QA5 (Gewerbe)" : fast_marker_cluster_
df7d2e4306ceadadabd8eb48c24f09c9
,
},
},
};
};
let layer_control_
680884b65a16783bbfc175aebe851774
= L.control.layers(
let layer_control_
9e19cbfa13aaad6d6ca71aaa21ca7898
= L.control.layers(
layer_control_
680884b65a16783bbfc175aebe851774
_layers.base_layers,
layer_control_
9e19cbfa13aaad6d6ca71aaa21ca7898
_layers.base_layers,
layer_control_
680884b65a16783bbfc175aebe851774
_layers.overlays,
layer_control_
9e19cbfa13aaad6d6ca71aaa21ca7898
_layers.overlays,
{
{
"position": "topright",
"position": "topright",
"collapsed": false,
"collapsed": false,
"autoZIndex": true,
"autoZIndex": true,
}
}
).addTo(map_
b6abefac04da6989a2ced67d6597b3a8
);
).addTo(map_
ab0380794fce0cfbe201d6de66e2ab2a
);
</script>
</script>
public/training.html
View file @
b007b252
...
@@ -45,6 +45,63 @@
...
@@ -45,6 +45,63 @@
<h1>
Quartiersarchetypen (Trainingsdaten)
</h1>
<h1>
Quartiersarchetypen (Trainingsdaten)
</h1>
<script>
// Wait for the page to fully load
window
.
addEventListener
(
'
load
'
,
function
()
{
// Create the reset button
var
resetButton
=
document
.
createElement
(
'
a
'
);
resetButton
.
innerHTML
=
'
🏠
'
;
resetButton
.
title
=
'
Reset view
'
;
resetButton
.
href
=
'
#
'
;
resetButton
.
className
=
'
leaflet-control-zoom-home leaflet-bar-part
'
;
resetButton
.
style
.
fontSize
=
'
18px
'
;
resetButton
.
style
.
lineHeight
=
'
26px
'
;
resetButton
.
style
.
textAlign
=
'
center
'
;
resetButton
.
style
.
textDecoration
=
'
none
'
;
resetButton
.
style
.
fontWeight
=
'
bold
'
;
// Create a container div that matches Leaflet's control style
var
container
=
document
.
createElement
(
'
div
'
);
container
.
className
=
'
leaflet-control-zoom-home leaflet-bar leaflet-control
'
;
container
.
appendChild
(
resetButton
);
// Find the zoom control container
var
zoomControl
=
document
.
querySelector
(
'
.leaflet-control-zoom
'
);
if
(
zoomControl
)
{
// Insert our control after the zoom control
zoomControl
.
parentNode
.
insertBefore
(
container
,
zoomControl
.
nextSibling
);
}
else
{
// Fallback: add to top left controls if zoom control not found
var
topLeftControls
=
document
.
querySelector
(
'
.leaflet-top.leaflet-left
'
);
if
(
topLeftControls
)
{
topLeftControls
.
appendChild
(
container
);
}
}
// Add click event listener
resetButton
.
addEventListener
(
'
click
'
,
function
(
e
)
{
// Prevent default action (avoid href navigation)
e
.
preventDefault
();
// Stop event propagation to prevent click on map
e
.
stopPropagation
();
// Find all map variables in the global scope
for
(
var
key
in
window
)
{
// Look for objects that seem to be Leaflet maps
if
(
window
[
key
]
&&
typeof
window
[
key
].
setView
===
'
function
'
&&
typeof
window
[
key
].
getCenter
===
'
function
'
)
{
// Reset the view of any found map
window
[
key
].
setView
([
51
,
10.5
],
6
);;
// We found a map and reset it, exit the loop
break
;
}
}
});
});
</script>
<div
class=
"folium-map"
id=
"germany_1"
></div>
<div
class=
"folium-map"
id=
"germany_1"
></div>
</body>
</body>
...
@@ -396,7 +453,7 @@
...
@@ -396,7 +453,7 @@
var
geocoderOpts_geocoder_
4fb38d370324c759f3b79630e04c5196
=
{
var
geocoderOpts_geocoder_
3c26d214cd8be2d73172dcb832a13b2d
=
{
"
collapsed
"
:
false
,
"
collapsed
"
:
false
,
"
position
"
:
"
topright
"
,
"
position
"
:
"
topright
"
,
"
defaultMarkGeocode
"
:
true
,
"
defaultMarkGeocode
"
:
true
,
...
@@ -407,23 +464,23 @@
...
@@ -407,23 +464,23 @@
};
};
// note: geocoder name should start with lowercase
// note: geocoder name should start with lowercase
var
geocoderName_geocoder_
4fb38d370324c759f3b79630e04c5196
=
geocoderOpts_geocoder_4fb38d370324c759f3b79630e04c5196
[
"
provider
"
];
var
geocoderName_geocoder_
3c26d214cd8be2d73172dcb832a13b2d
=
geocoderOpts_geocoder_3c26d214cd8be2d73172dcb832a13b2d
[
"
provider
"
];
var
customGeocoder_geocoder_
4fb38d370324c759f3b79630e04c5196
=
L
.
Control
.
Geocoder
[
geocoderName_geocoder_
4fb38d370324c759f3b79630e04c5196
](
var
customGeocoder_geocoder_
3c26d214cd8be2d73172dcb832a13b2d
=
L
.
Control
.
Geocoder
[
geocoderName_geocoder_
3c26d214cd8be2d73172dcb832a13b2d
](
geocoderOpts_geocoder_
4fb38d370324c759f3b79630e04c5196
[
'
providerOptions
'
]
geocoderOpts_geocoder_
3c26d214cd8be2d73172dcb832a13b2d
[
'
providerOptions
'
]
);
);
geocoderOpts_geocoder_
4fb38d370324c759f3b79630e04c5196
[
"
geocoder
"
]
=
customGeocoder_geocoder_
4fb38d370324c759f3b79630e04c5196
;
geocoderOpts_geocoder_
3c26d214cd8be2d73172dcb832a13b2d
[
"
geocoder
"
]
=
customGeocoder_geocoder_
3c26d214cd8be2d73172dcb832a13b2d
;
L
.
Control
.
geocoder
(
L
.
Control
.
geocoder
(
geocoderOpts_geocoder_
4fb38d370324c759f3b79630e04c5196
geocoderOpts_geocoder_
3c26d214cd8be2d73172dcb832a13b2d
).
on
(
'
markgeocode
'
,
function
(
e
)
{
).
on
(
'
markgeocode
'
,
function
(
e
)
{
var
zoom
=
geocoderOpts_geocoder_
4fb38d370324c759f3b79630e04c5196
[
'
zoom
'
]
||
germany_1
.
getZoom
();
var
zoom
=
geocoderOpts_geocoder_
3c26d214cd8be2d73172dcb832a13b2d
[
'
zoom
'
]
||
germany_1
.
getZoom
();
germany_1
.
setView
(
e
.
geocode
.
center
,
zoom
);
germany_1
.
setView
(
e
.
geocode
.
center
,
zoom
);
}).
addTo
(
germany_1
);
}).
addTo
(
germany_1
);
var
tile_layer_
3e2353b330771d81b09ad0264eba0eb8
=
L
.
tileLayer
(
var
tile_layer_
b7bc27f856805acac01a980f75834583
=
L
.
tileLayer
(
"
https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png
"
,
"
https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png
"
,
{
{
"
minZoom
"
:
0
,
"
minZoom
"
:
0
,
...
@@ -440,10 +497,10 @@
...
@@ -440,10 +497,10 @@
);
);
tile_layer_
3e2353b330771d81b09ad0264eba0eb8
.
addTo
(
germany_1
);
tile_layer_
b7bc27f856805acac01a980f75834583
.
addTo
(
germany_1
);
var
tile_layer_
257dbd84851099418ce493bd4515b7a3
=
L
.
tileLayer
(
var
tile_layer_
c3363aaa7824c1302312bd74a6975a6a
=
L
.
tileLayer
(
"
https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}
"
,
"
https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}
"
,
{
{
"
minZoom
"
:
0
,
"
minZoom
"
:
0
,
...
@@ -460,10 +517,10 @@
...
@@ -460,10 +517,10 @@
);
);
tile_layer_
257dbd84851099418ce493bd4515b7a3
.
addTo
(
germany_1
);
tile_layer_
c3363aaa7824c1302312bd74a6975a6a
.
addTo
(
germany_1
);
var
fast_marker_cluster_
a50b94b109a70b25ca261e2493736fc8
=
(
function
(){
var
fast_marker_cluster_
03fd76055acee142fe4a67166a048097
=
(
function
(){
var
callback
=
function
(
row
)
{
var
callback
=
function
(
row
)
{
let
[
lat
,
lon
,
plz
,
qa
,
inhabitants
,
distribution
]
=
row
;
let
[
lat
,
lon
,
plz
,
qa
,
inhabitants
,
distribution
]
=
row
;
var
marker
=
L
.
marker
(
new
L
.
LatLng
(
lat
,
lon
),
{
color
:
"
red
"
});
var
marker
=
L
.
marker
(
new
L
.
LatLng
(
lat
,
lon
),
{
color
:
"
red
"
});
...
@@ -560,10 +617,10 @@
...
@@ -560,10 +617,10 @@
})();
})();
fast_marker_cluster_
a50b94b109a70b25ca261e2493736fc8
.
addTo
(
germany_1
);
fast_marker_cluster_
03fd76055acee142fe4a67166a048097
.
addTo
(
germany_1
);
var
fast_marker_cluster_
7fe1544675ff60a17a8689eebb74352a
=
(
function
(){
var
fast_marker_cluster_
0de630167e261f2c8263421921739ad1
=
(
function
(){
var
callback
=
function
(
row
)
{
var
callback
=
function
(
row
)
{
let
[
lat
,
lon
,
plz
,
qa
,
inhabitants
,
distribution
]
=
row
;
let
[
lat
,
lon
,
plz
,
qa
,
inhabitants
,
distribution
]
=
row
;
var
marker
=
L
.
marker
(
new
L
.
LatLng
(
lat
,
lon
),
{
color
:
"
red
"
});
var
marker
=
L
.
marker
(
new
L
.
LatLng
(
lat
,
lon
),
{
color
:
"
red
"
});
...
@@ -660,10 +717,10 @@
...
@@ -660,10 +717,10 @@
})();
})();
fast_marker_cluster_
7fe1544675ff60a17a8689eebb74352a
.
addTo
(
germany_1
);
fast_marker_cluster_
0de630167e261f2c8263421921739ad1
.
addTo
(
germany_1
);
var
fast_marker_cluster_
3d200a28200414741
53
4
d7
d30b973514
=
(
function
(){
var
fast_marker_cluster_
9b01d94fb592b0c5
53d7
7521c8a5be50
=
(
function
(){
var
callback
=
function
(
row
)
{
var
callback
=
function
(
row
)
{
let
[
lat
,
lon
,
plz
,
qa
,
inhabitants
,
distribution
]
=
row
;
let
[
lat
,
lon
,
plz
,
qa
,
inhabitants
,
distribution
]
=
row
;
var
marker
=
L
.
marker
(
new
L
.
LatLng
(
lat
,
lon
),
{
color
:
"
red
"
});
var
marker
=
L
.
marker
(
new
L
.
LatLng
(
lat
,
lon
),
{
color
:
"
red
"
});
...
@@ -760,10 +817,10 @@
...
@@ -760,10 +817,10 @@
})();
})();
fast_marker_cluster_
3d200a28200414741
53
4
d7
d30b973514
.
addTo
(
germany_1
);
fast_marker_cluster_
9b01d94fb592b0c5
53d7
7521c8a5be50
.
addTo
(
germany_1
);
var
fast_marker_cluster_
9ecf3763afe694edb009a6eaf24ac037
=
(
function
(){
var
fast_marker_cluster_
1422c34e2494a2b6ad2cbb10c2cf87aa
=
(
function
(){
var
callback
=
function
(
row
)
{
var
callback
=
function
(
row
)
{
let
[
lat
,
lon
,
plz
,
qa
,
inhabitants
,
distribution
]
=
row
;
let
[
lat
,
lon
,
plz
,
qa
,
inhabitants
,
distribution
]
=
row
;
var
marker
=
L
.
marker
(
new
L
.
LatLng
(
lat
,
lon
),
{
color
:
"
red
"
});
var
marker
=
L
.
marker
(
new
L
.
LatLng
(
lat
,
lon
),
{
color
:
"
red
"
});
...
@@ -860,10 +917,10 @@
...
@@ -860,10 +917,10 @@
})();
})();
fast_marker_cluster_
9ecf3763afe694edb009a6eaf24ac037
.
addTo
(
germany_1
);
fast_marker_cluster_
1422c34e2494a2b6ad2cbb10c2cf87aa
.
addTo
(
germany_1
);
var
fast_marker_cluster_
d50d863fd41eff1a9ca711370ca24690
=
(
function
(){
var
fast_marker_cluster_
e3ae000cea2e8b1f380970a0b804b6ab
=
(
function
(){
var
callback
=
function
(
row
)
{
var
callback
=
function
(
row
)
{
let
[
lat
,
lon
,
plz
,
qa
,
inhabitants
,
distribution
]
=
row
;
let
[
lat
,
lon
,
plz
,
qa
,
inhabitants
,
distribution
]
=
row
;
var
marker
=
L
.
marker
(
new
L
.
LatLng
(
lat
,
lon
),
{
color
:
"
red
"
});
var
marker
=
L
.
marker
(
new
L
.
LatLng
(
lat
,
lon
),
{
color
:
"
red
"
});
...
@@ -960,25 +1017,25 @@
...
@@ -960,25 +1017,25 @@
})();
})();
fast_marker_cluster_
d50d863fd41eff1a9ca711370ca24690
.
addTo
(
germany_1
);
fast_marker_cluster_
e3ae000cea2e8b1f380970a0b804b6ab
.
addTo
(
germany_1
);
var
layer_control_
21dfce6c7e91f29f0f8fbf01da8343d
b_layers
=
{
var
layer_control_
59a0c0a8f9013842a0ce3981d09718f
b_layers
=
{
base_layers
:
{
base_layers
:
{
"
CartoDB
"
:
tile_layer_
3e2353b330771d81b09ad0264eba0eb8
,
"
CartoDB
"
:
tile_layer_
b7bc27f856805acac01a980f75834583
,
"
Satellite
"
:
tile_layer_
257dbd84851099418ce493bd4515b7a3
,
"
Satellite
"
:
tile_layer_
c3363aaa7824c1302312bd74a6975a6a
,
},
},
overlays
:
{
overlays
:
{
"
QA1 (EFH/ZFH)
"
:
fast_marker_cluster_
a50b94b109a70b25ca261e2493736fc8
,
"
QA1 (EFH/ZFH)
"
:
fast_marker_cluster_
03fd76055acee142fe4a67166a048097
,
"
QA2 (MFH)
"
:
fast_marker_cluster_
7fe1544675ff60a17a8689eebb74352a
,
"
QA2 (MFH)
"
:
fast_marker_cluster_
0de630167e261f2c8263421921739ad1
,
"
QA3 (MFH gro
\
u00df)
"
:
fast_marker_cluster_
3d200a28200414741
53
4
d7
d30b973514
,
"
QA3 (MFH gro
\
u00df)
"
:
fast_marker_cluster_
9b01d94fb592b0c5
53d7
7521c8a5be50
,
"
QA4 (Innenstadtwohnen)
"
:
fast_marker_cluster_
9ecf3763afe694edb009a6eaf24ac037
,
"
QA4 (Innenstadtwohnen)
"
:
fast_marker_cluster_
1422c34e2494a2b6ad2cbb10c2cf87aa
,
"
QA5 (Gewerbe)
"
:
fast_marker_cluster_
d50d863fd41eff1a9ca711370ca24690
,
"
QA5 (Gewerbe)
"
:
fast_marker_cluster_
e3ae000cea2e8b1f380970a0b804b6ab
,
},
},
};
};
let
layer_control_
21dfce6c7e91f29f0f8fbf01da8343d
b
=
L
.
control
.
layers
(
let
layer_control_
59a0c0a8f9013842a0ce3981d09718f
b
=
L
.
control
.
layers
(
layer_control_
21dfce6c7e91f29f0f8fbf01da8343d
b_layers
.
base_layers
,
layer_control_
59a0c0a8f9013842a0ce3981d09718f
b_layers
.
base_layers
,
layer_control_
21dfce6c7e91f29f0f8fbf01da8343d
b_layers
.
overlays
,
layer_control_
59a0c0a8f9013842a0ce3981d09718f
b_layers
.
overlays
,
{
{
"
position
"
:
"
topright
"
,
"
position
"
:
"
topright
"
,
"
collapsed
"
:
false
,
"
collapsed
"
:
false
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment