forked from MapComplete/MapComplete
Refactoring: add 'anchor'-field instead of using the iconSize to determine the anchor
This commit is contained in:
parent
f4b7e7eb88
commit
36cdcf0648
3 changed files with 13 additions and 3 deletions
|
@ -62,7 +62,7 @@ export default interface PointRenderingConfigJson {
|
|||
* For example, a feature attached to the ground can use 'bottom' as zooming in will give the appearance of being anchored to a fixed location.
|
||||
*
|
||||
*/
|
||||
anchor?: "center" | "top" | "bottom" | "left" | "right" | string
|
||||
anchor?: "center" | "top" | "bottom" | "left" | "right" | string | TagRenderingConfigJson
|
||||
|
||||
/**
|
||||
* The rotation of an icon, useful for e.g. directions.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue