Small fixes, perf improvements, remove duplicate images of ghost bikes, add wall mount

This commit is contained in:
Pieter Vander Vennet 2020-11-15 01:16:35 +01:00
parent 9978879536
commit e74b4e3804
13 changed files with 57 additions and 26 deletions

View file

@ -153,10 +153,10 @@ export class InitUiElements {
* This is given to the div which renders fullscreen on mobile devices
*/
State.state.selectedElement.addCallback((feature) => {
if (feature?.feature?.properties === undefined) {
if (feature?.properties === undefined) {
return;
}
const data = feature.feature.properties;
const data = feature.properties;
// Which is the applicable set?
for (const layer of layoutToUse.layers) {
if (typeof layer === "string") {