Fix typo which prevented updating the selected element, improve comments and typings

This commit is contained in:
Pieter Vander Vennet 2023-01-03 23:45:04 +01:00
parent b4f739e506
commit 09507b3537
3 changed files with 5 additions and 3 deletions

View file

@ -178,7 +178,7 @@ export class BBox {
])
}
toLeaflet() {
toLeaflet(): [[number, number], [number, number]] {
return [
[this.minLat, this.minLon],
[this.maxLat, this.maxLon],