Merge branch 'develop' into feature/bicycle_road
This commit is contained in:
commit
1ed6052f78
2 changed files with 2 additions and 2 deletions
|
@ -343,7 +343,7 @@ Another example is to search for species and trees:
|
||||||
const prefixesUnrwapped: string[] = prefixes[lg] ?? prefixes
|
const prefixesUnrwapped: string[] = prefixes[lg] ?? prefixes
|
||||||
const postfixesUnwrapped: string[] = postfixes[lg] ?? postfixes
|
const postfixesUnwrapped: string[] = postfixes[lg] ?? postfixes
|
||||||
let clipped = searchFor;
|
let clipped = searchFor;
|
||||||
console.log("Pref", prefixesUnrwapped," post", postfixesUnwrapped)
|
|
||||||
for (const postfix of postfixesUnwrapped) {
|
for (const postfix of postfixesUnwrapped) {
|
||||||
if (searchFor.endsWith(postfix)) {
|
if (searchFor.endsWith(postfix)) {
|
||||||
clipped = searchFor.substring(0, searchFor.length - postfix.length)
|
clipped = searchFor.substring(0, searchFor.length - postfix.length)
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
"maxZoom": 14,
|
"maxZoom": 14,
|
||||||
"minNeededElements": 100
|
"minNeededElements": 100
|
||||||
},
|
},
|
||||||
"credits": "nicolelaine"
|
"credits": "nicolelaine",
|
||||||
"layers": [
|
"layers": [
|
||||||
"postboxes",
|
"postboxes",
|
||||||
"postoffices",
|
"postoffices",
|
||||||
|
|
Loading…
Reference in a new issue