Feature: add possibility to show a scale on the map

This commit is contained in:
Pieter Vander Vennet 2024-09-12 01:53:47 +02:00
parent 0fdbf445be
commit 5a9ae3f104
6 changed files with 52 additions and 10 deletions

View file

@ -22,6 +22,7 @@ export interface MapProperties {
readonly lastClickLocation: Store<{ lon: number; lat: number }>
readonly allowZooming: UIEventSource<true | boolean>
readonly useTerrain: Store<boolean>
readonly showScale: UIEventSource<boolean>
/**
* Triggered when the user navigated by using the keyboard.