Better zoom to location on address selection

This commit is contained in:
Eli Ribble 2026-04-03 23:11:39 +00:00
parent e56e83161b
commit beb6d9d066
No known key found for this signature in database
2 changed files with 15 additions and 13 deletions

View file

@ -530,6 +530,9 @@ function doAddressSelected(address: Address) {
console.error("No geometry on address", address);
return;
}
if (currentCamera.value) {
currentCamera.value.zoom = 15;
}
marker.value = {
color: "#FF0000",
draggable: true,