Correctly set location data after reverse geocode
This fixes the location when a marker drag finishes
This commit is contained in:
parent
d3acb7d47d
commit
b77d9aa80a
1 changed files with 1 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue