diff --git a/packages/nc-gui/components/cell/GeoData.vue b/packages/nc-gui/components/cell/GeoData.vue
index a99ef55e96..9e89f884b1 100644
--- a/packages/nc-gui/components/cell/GeoData.vue
+++ b/packages/nc-gui/components/cell/GeoData.vue
@@ -1,6 +1,7 @@
@@ -231,7 +226,6 @@ const count = computed(() => paginationData.value.totalRows)
:state="expandedFormRowState"
:meta="meta"
:view="view"
- :initial-geo-position-data="expandedFormDlgInitialGeoPositionData"
/>
diff --git a/packages/nc-gui/components/smartsheet/expanded-form/index.vue b/packages/nc-gui/components/smartsheet/expanded-form/index.vue
index 1558398675..84b4297535 100644
--- a/packages/nc-gui/components/smartsheet/expanded-form/index.vue
+++ b/packages/nc-gui/components/smartsheet/expanded-form/index.vue
@@ -27,12 +27,6 @@ const props = defineProps()
const emits = defineEmits(['update:modelValue', 'cancel'])
-export interface InitialGeoPositionData {
- lat?: number
- long?: number
- geoColId?: string
-}
-
interface Props {
modelValue?: boolean
row: Row
@@ -42,7 +36,6 @@ interface Props {
useMetaFields?: boolean
rowId?: string
view?: ViewType
- initialGeoPositionData?: InitialGeoPositionData
}
const row = ref(props.row)
@@ -51,9 +44,6 @@ const state = toRef(props, 'state')
const meta = toRef(props, 'meta')
-// const initialGeoPositionData = toRef(props, 'initialGeoPositionData')
-const initialGeoPositionData = ref(props.initialGeoPositionData)
-
const router = useRouter()
const fields = computedInject(FieldsInj, (_fields) => {
@@ -184,7 +174,6 @@ export default {
:column="col"
:edit-enabled="true"
:active="true"
- :default-geo-position="initialGeoPositionData"
@update:model-value="changedColumns.add(col.title)"
/>
diff --git a/packages/nc-gui/utils/geoDataUtils.ts b/packages/nc-gui/utils/geoDataUtils.ts
new file mode 100644
index 0000000000..a914804995
--- /dev/null
+++ b/packages/nc-gui/utils/geoDataUtils.ts
@@ -0,0 +1,3 @@
+const latLongToJoinedString = (lat: number, long: number) => `${lat.toFixed(7)};${long.toFixed(7)}`
+
+export { latLongToJoinedString }