diff --git a/src/components/LocationError.vue b/src/components/LocationError.vue index b30be3c..2be7835 100644 --- a/src/components/LocationError.vue +++ b/src/components/LocationError.vue @@ -25,7 +25,10 @@ export default { onManualLocationPicker(value) { this.$store.dispatch( 'setCurrentPosition', - { latLng: [value.latlng.lat, value.latlng.lng] }, + { + coords: { latitude: value.latlng.lat, longitude: value.latlng.lng }, + timestamp: new Date().getTime(), + }, ); }, }, diff --git a/src/constants.js b/src/constants.js index 04228f4..3e7674a 100644 --- a/src/constants.js +++ b/src/constants.js @@ -23,7 +23,6 @@ export const REPORT_TYPES = { image: accidentIcon, marker: accidentMarker, markerLarge: accidentMarker, - }, gcum: { description: 'reportLabels.gcumDescription',