Merge branch 'master' into develop
This commit is contained in:
commit
3e7f1da8e7
3 changed files with 12 additions and 34 deletions
|
@ -73,28 +73,6 @@ export default class RenderingMultiPlexerFeatureSource {
|
|||
|
||||
}
|
||||
|
||||
|
||||
if (feat.geometry.type === "MultiLineString") {
|
||||
// Multilinestrings get a special treatment: we split them into their subparts before rendering
|
||||
const lineList: [number, number][][] = feat.geometry.coordinates
|
||||
|
||||
for (let i1 = 0; i1 < lineList.length; i1++) {
|
||||
const coordinates = lineList[i1];
|
||||
|
||||
for (let i = 0; i < lineRenderObjects.length; i++) {
|
||||
const orig = {
|
||||
...feat,
|
||||
lineRenderingIndex: i,
|
||||
multiLineStringIndex: i1
|
||||
}
|
||||
orig.geometry.coordinates = coordinates
|
||||
orig.geometry.type = "LineString"
|
||||
withIndex.push(orig)
|
||||
}
|
||||
}
|
||||
|
||||
}else{
|
||||
|
||||
// AT last, add it 'as is' to what we should render
|
||||
for (let i = 0; i < lineRenderObjects.length; i++) {
|
||||
withIndex.push({
|
||||
|
@ -102,8 +80,6 @@ export default class RenderingMultiPlexerFeatureSource {
|
|||
lineRenderingIndex: i
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,7 +13,8 @@
|
|||
{
|
||||
"id": "Privacy notice",
|
||||
"render": {
|
||||
"en": "This is the path you've travelled since this website is opened. Don't worry - this is only visible to you and no one else. Your location data is never sent off-device."
|
||||
"en": "This is the path you've travelled since this website is opened. Don't worry - this is only visible to you and no one else. Your location data is never sent off-device.",
|
||||
"nl": "Dit is waar je was sinds je deze website hebt geopened. Dit is enkel zichtbaar voor jou en niemand anders, je locatie wordt niet verstuurd"
|
||||
}
|
||||
},
|
||||
"export_as_gpx",
|
||||
|
|
|
@ -309,7 +309,8 @@
|
|||
"brand=Little Free Library",
|
||||
"nobrand="
|
||||
]
|
||||
}
|
||||
},
|
||||
"addExtraTags": ["brand:wikidata=Q6650101"]
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
|
|
Loading…
Reference in a new issue