forked from MapComplete/MapComplete
Refactoring: split AndOrTagConfigJson into an AndTagConfig and an OrTagConfig
This commit is contained in:
parent
e225b8e45b
commit
9ae40d8af2
10 changed files with 41 additions and 32 deletions
|
@ -1,5 +1,5 @@
|
|||
import {TagRenderingConfigJson} from "./TagRenderingConfigJson";
|
||||
import {AndOrTagConfigJson} from "./TagConfigJson";
|
||||
import {TagConfigJson} from "./TagConfigJson";
|
||||
|
||||
/**
|
||||
* The PointRenderingConfig gives all details onto how to render a single point of a feature.
|
||||
|
@ -39,7 +39,7 @@ export default interface PointRenderingConfigJson {
|
|||
* Note: strings are interpreted as icons, so layering and substituting is supported. You can use `circle:white;./my_icon.svg` to add a background circle
|
||||
*/
|
||||
iconBadges?: {
|
||||
if: string | AndOrTagConfigJson,
|
||||
if: TagConfigJson,
|
||||
/**
|
||||
* Badge to show
|
||||
* Type: icon
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue