forked from MapComplete/MapComplete
UX: small maps now follow the rotation of the main map, fix #2433, add compass indicators to most of the minimaps
This commit is contained in:
parent
aed6defa16
commit
376ed60e6e
15 changed files with 71 additions and 33 deletions
|
|
@ -18,6 +18,9 @@ export interface MapProperties {
|
|||
readonly maxbounds: UIEventSource<undefined | BBox>
|
||||
readonly allowMoving: UIEventSource<true | boolean>
|
||||
readonly allowRotating: UIEventSource<true | boolean>
|
||||
/**
|
||||
* Current rotation of the map, ccw in degrees
|
||||
*/
|
||||
readonly rotation: UIEventSource<number>
|
||||
readonly pitch: UIEventSource<number>
|
||||
readonly lastClickLocation: Store<{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue