Merge branch 'develop' into feature/bicycle_road

This commit is contained in:
pietervdvn 2022-08-24 02:33:50 +02:00
commit 1ed6052f78
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -41,7 +41,7 @@
"maxZoom": 14, "maxZoom": 14,
"minNeededElements": 100 "minNeededElements": 100
}, },
"credits": "nicolelaine" "credits": "nicolelaine",
"layers": [ "layers": [
"postboxes", "postboxes",
"postoffices", "postoffices",