forked from MapComplete/MapComplete
Huge refactorings of JSON-parsing and Tagsfilter, other cleanups, warning cleanups and lots of small subtle bugfixes
This commit is contained in:
parent
9a5b35b9f3
commit
a57b7d93fa
113 changed files with 1565 additions and 2594 deletions
|
|
@ -1,9 +1,8 @@
|
|||
import {Tag, TagsFilter} from "../Logic/TagsFilter";
|
||||
import {Tag, TagsFilter} from "../Logic/Tags";
|
||||
import {UIElement} from "../UI/UIElement";
|
||||
import {TagDependantUIElementConstructor} from "./UIElementConstructor";
|
||||
import {TagRenderingOptions} from "./TagRenderingOptions";
|
||||
import Translation from "../UI/i18n/Translation";
|
||||
import {LayerConfigJson, TagRenderingConfigJson} from "./JSON/CustomLayoutFromJSON";
|
||||
|
||||
export interface Preset {
|
||||
tags: Tag[],
|
||||
|
|
@ -75,9 +74,8 @@ export class LayerDefinition {
|
|||
style: (tags: any) => {
|
||||
color: string,
|
||||
weight?: number,
|
||||
icon: {
|
||||
iconUrl: string,
|
||||
iconSize: number[],
|
||||
icon: {
|
||||
iconUrl: string, iconSize?: number[], popupAnchor?: number[], iconAnchor?: number[]
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue