Compare commits
2
Commits
fb4310666c
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
76d68b013a | ||
|
|
dab258140f |
@@ -51,6 +51,11 @@ removePathAccents = true # ä/ö/ü → a/o/u in URLs
|
||||
name = "Schauplätze"
|
||||
url = "/schauplaetze/"
|
||||
weight = 20
|
||||
[[languages.de.menus.main]]
|
||||
name = "Alle Schauplätze"
|
||||
parent = "Schauplätze"
|
||||
url = "/schauplaetze/"
|
||||
weight = -1
|
||||
[[languages.de.menus.main]]
|
||||
name = "Aufenthaltsorte"
|
||||
parent = "Schauplätze"
|
||||
@@ -117,6 +122,11 @@ removePathAccents = true # ä/ö/ü → a/o/u in URLs
|
||||
name = "Locations"
|
||||
url = "/schauplaetze/"
|
||||
weight = 20
|
||||
[[languages.en.menus.main]]
|
||||
name = "All locations"
|
||||
parent = "Locations"
|
||||
url = "/schauplaetze/"
|
||||
weight = -1
|
||||
[[languages.en.menus.main]]
|
||||
name = "Whereabouts"
|
||||
parent = "Locations"
|
||||
|
||||
@@ -71,7 +71,10 @@
|
||||
}
|
||||
|
||||
function fitGermanyIfNeeded() {
|
||||
if (klein || !records.length) {
|
||||
// Nur bei leerem Ergebnis ganz Deutschland zeigen. Die Detail-Minikarte
|
||||
// (klein) bleibt auf dem Strassenzoom aus apply() (maxZoom 17), damit man
|
||||
// Strasse/Haus des Schauplatzes sieht.
|
||||
if (!records.length) {
|
||||
try { map.fitBounds(germanyBounds.pad(0.02)); } catch (e) {}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user