forked from MapComplete/MapComplete
Add composable icons, add icon badges and overlays, add icon badge to drinking water and cyclofix
This commit is contained in:
parent
4f7c25766a
commit
6299c8223e
13 changed files with 518 additions and 172 deletions
|
@ -60,6 +60,14 @@ export interface LayerConfigJson {
|
|||
*/
|
||||
icon?: string | TagRenderingConfigJson;
|
||||
|
||||
/**
|
||||
* IconsOverlays are a list of extra icons/badges to overlay over the icon.
|
||||
* The 'badge'-toggle changes their behaviour.
|
||||
* If badge is set, it will be added as a 25% height icon at the bottom right of the icon, with all the badges in a flex layout.
|
||||
* If badges is false, it'll be a simple overlay
|
||||
*/
|
||||
iconOverlays?: {if: AndOrTagConfigJson, then: string, badge?: boolean}[]
|
||||
|
||||
/**
|
||||
* A string containing "width,height" or "width,height,anchorpoint" where anchorpoint is any of 'center', 'top', 'bottom', 'left', 'right', 'bottomleft','topright', ...
|
||||
* Default is '40,40,center'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue