forked from MapComplete/MapComplete
Chore: formatting
This commit is contained in:
parent
35eff07c80
commit
c08fe03ed0
422 changed files with 31594 additions and 43019 deletions
|
@ -123,12 +123,15 @@ export default class PointRenderingConfig extends WithContextLoader {
|
|||
context + ".rotationAlignment"
|
||||
)
|
||||
}
|
||||
private static FromHtmlMulti(multiSpec: string, tags: Store<Record<string, string>>): BaseUIElement {
|
||||
private static FromHtmlMulti(
|
||||
multiSpec: string,
|
||||
tags: Store<Record<string, string>>
|
||||
): BaseUIElement {
|
||||
const icons: IconConfig[] = []
|
||||
|
||||
for (const subspec of multiSpec.split(";")) {
|
||||
if(subspec.startsWith("http://") || subspec.startsWith("https://")){
|
||||
icons.push(new IconConfig({icon: subspec}))
|
||||
if (subspec.startsWith("http://") || subspec.startsWith("https://")) {
|
||||
icons.push(new IconConfig({ icon: subspec }))
|
||||
continue
|
||||
}
|
||||
const [icon, color] = subspec.split(":")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue