Browse Source

WIP geodata: add marker by tap holding in a map view - add no markers by leaving

pull/4723/head
flisowna 2 years ago
parent
commit
6c485880a0
  1. 3
      packages/nc-gui/components/smartsheet/Map.vue

3
packages/nc-gui/components/smartsheet/Map.vue

@ -147,8 +147,7 @@ onMounted(async () => {
if (geoDataFieldColumn.value?.title) {
newRow.row[geoDataFieldColumn.value.title] = `${lat.toFixed(7)};${lng.toFixed(7)}`
}
addMarker(lat, lng, newRow)
expandForm(newRow, undefined, [lat, lng])
expandForm(newRow, [lat, lng])
})
})

Loading…
Cancel
Save