forked from MapComplete/MapComplete
themes(advertising): add (animated!) flag and screen icons
This commit is contained in:
parent
37da1ad035
commit
090130d596
7 changed files with 354 additions and 19 deletions
|
@ -285,7 +285,9 @@ export default class SimpleAddUI extends LoginToggle {
|
|||
const tags = TagUtils.KVtoProperties(preset.tags ?? [])
|
||||
let icon: () => BaseUIElement = () =>
|
||||
layer.layerDef.mapRendering[0]
|
||||
.GenerateLeafletStyle(new UIEventSource<any>(tags), false)
|
||||
.GenerateLeafletStyle(new UIEventSource<any>(tags), false, {
|
||||
noSize: true,
|
||||
})
|
||||
.html.SetClass("w-12 h-12 block relative")
|
||||
const presetInfo: PresetInfo = {
|
||||
layerToAddTo: layer,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue