forked from MapComplete/MapComplete
Add projected_centerpoint as pointrenderingoption
This commit is contained in:
parent
0c31e885e3
commit
0aae923187
8 changed files with 96 additions and 53 deletions
|
@ -13,9 +13,10 @@ export default interface PointRenderingConfigJson {
|
|||
|
||||
/**
|
||||
* All the locations that this point should be rendered at.
|
||||
* Using `location: ["point", "centroid"] will always render centerpoint
|
||||
* Using `location: ["point", "centroid"] will always render centerpoint.
|
||||
* 'projected_centerpoint' will show an item on the line itself, near the middle of the line. (LineStrings only)
|
||||
*/
|
||||
location: ("point" | "centroid" | "start" | "end" | string)[]
|
||||
location: ("point" | "centroid" | "start" | "end" | "projected_centerpoint" | string)[]
|
||||
|
||||
/**
|
||||
* The icon for an element.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue