Correctly set location data after reverse geocode

This fixes the location when a marker drag finishes
This commit is contained in:
Eli Ribble 2026-02-02 07:14:03 +00:00
parent d3acb7d47d
commit b77d9aa80a
No known key found for this signature in database

View file

@ -19,6 +19,7 @@ async function handleMarkerDrag(lngLat) {
if (response !== undefined && response.features.length > 0) {
const addressInput = document.querySelector("address-input");
addressInput.SetValue(response.features[0]);
setLocationInputs(response.features[0]);
}
}
function selectInspectionType(type) {