forked from MapComplete/MapComplete
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:
parent
58cd866e54
commit
186b8a79ac
26 changed files with 171 additions and 190 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue