Merge develop

This commit is contained in:
Pieter Vander Vennet 2024-09-17 02:36:38 +02:00
commit 5a9f8f0a0a
62 changed files with 4448 additions and 710 deletions

View file

@ -18,9 +18,15 @@
/**
* A visualisation to pick a location on a map background
*/
/**
* The center of the map. If it contains a value (and initialCoordinate is not given), this will be used as start coordinate
*/
export let value: UIEventSource<{ lon: number; lat: number }>
export let initialCoordinate: { lon: number; lat: number }
export let initialCoordinate: { lon: number; lat: number } = undefined
initialCoordinate = initialCoordinate ?? value.data
/**
* Max distance that one is allowed to stray from the initial coordinate
*/
export let maxDistanceInMeters: number = undefined
export let mapProperties: Partial<MapProperties> & {
readonly location: UIEventSource<{ lon: number; lat: number }>