Skip to content

Commit 63bcbc4

Browse files
committed
move the map stuff to its own folder.
1 parent d7fda38 commit 63bcbc4

11 files changed

Lines changed: 12 additions & 6 deletions

content/map.md renamed to content/map/_index.de.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ Forum](https://forum.openbikesensor.org/t/karte-der-lokalinitiativen-und-nutzer/
1717
erfährst du, wie!
1818

1919
<div class="container full-width" style="height: calc(100vh - 160px);">
20-
<iframe src="https://umap.openstreetmap.fr/en/map/openbikesensor-initiativen_702977#6/51.207/14.941" width="100%" height="100%">
20+
<iframe src="/map/map.html" width="100%" height="100%">
2121
</iframe>
2222
</div>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
"color": "Black"
118118
},
119119
"name": "Pforzheim",
120-
"description": "**Ort:** Pforzheim<br/>**Name:** Natenom<br/>**Kontakt:** [@natenom](https://twitter.com/natenom)<br/>**Anzahl:** 1 Sensor<br/>**Weblink:** [natenom.com](https://natenom.com)"
120+
"description": "**Ort:** Pforzheim<br/>**Name:** Natenom<br/>**Kontakt:** [@natenom](https://natenom.de)<br/>**Anzahl:** 1 Sensor<br/>**Weblink:** [natenom.com](https://natenom.com)"
121121
},
122122
"geometry": {
123123
"type": "Point",
File renamed without changes.
Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
<!DOCTYPE html>
23
<html lang="en">
34
<head>
@@ -31,7 +32,7 @@
3132
'darkmatter.json',
3233
zoom: 6,
3334
center: [10.0,51.0],
34-
attributionControl: false,
35+
attributionControl: {customAttribution: 'Map data <A HREF="https://www.openstreetmap.org/copyright">©️OpenStreetMap</A> contributors'},
3536
});
3637

3738

@@ -87,7 +88,11 @@
8788

8889

8990
// Add a symbol layer
90-
map.addLayer({
91+
92+
93+
94+
95+
map.addLayer({
9196
'id': 'conferences',
9297
'source': 'initiativen',
9398
'type': 'symbol',
@@ -105,12 +110,13 @@
105110
],
106111
'text-offset': [0, 0.5],
107112
'text-anchor': 'top',
113+
'text-allow-overlap': false,
114+
'text-optional': true
108115

109116
}
110117
});
111118

112-
113-
map.addLayer({
119+
map.addLayer({
114120
'id': 'counts',
115121
'source': 'initiativen',
116122
'type': 'symbol',
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)