forked from MapComplete/MapComplete
Allow dynamic point renderings in studio, fixes #1986
This commit is contained in:
parent
ad7976f142
commit
436738ffa2
5 changed files with 600 additions and 368 deletions
|
|
@ -5,6 +5,7 @@ export interface IconConfigJson {
|
|||
/**
|
||||
* question: What icon should be used?
|
||||
* type: icon
|
||||
* types: Use a dynamic value ; icon
|
||||
* suggestions: return Constants.defaultPinIcons.map(i => ({if: "value="+i, then: i, icon: i}))
|
||||
*/
|
||||
icon: string | MinimalTagRenderingConfigJson | { builtin: string; override: any }
|
||||
|
|
@ -12,6 +13,7 @@ export interface IconConfigJson {
|
|||
* question: What colour should the icon be?
|
||||
* This will only work for the default icons such as `pin`,`circle`,...
|
||||
* type: color
|
||||
* types: Use a dynamic color ; icon
|
||||
*/
|
||||
color?: string | MinimalTagRenderingConfigJson | { builtin: string; override: any }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue