Add example images to presets, fix these in bike_repair_station, add more repair_stand examples, fix fake svgs, wording updates

This commit is contained in:
Pieter Vander Vennet 2022-02-09 03:38:40 +01:00
parent 58cd866e54
commit 186b8a79ac
26 changed files with 171 additions and 190 deletions

View file

@ -14,6 +14,9 @@ export default class AddNewMarker extends Combine {
let last = undefined;
for (const filteredLayer of filteredLayers) {
const layer = filteredLayer.layerDef;
if(layer.name === undefined){
continue
}
for (const preset of filteredLayer.layerDef.presets) {
const tags = TagUtils.KVtoProperties(preset.tags)
const icon = layer.mapRendering[0].GenerateLeafletStyle(new UIEventSource<any>(tags), false).html