Fix a bug with manual address selection

This commit is contained in:
Lucas Verney 2018-09-13 15:52:39 +02:00
parent e5838996ea
commit b168fe2b9e
2 changed files with 4 additions and 2 deletions

View File

@ -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(),
},
);
},
},

View File

@ -23,7 +23,6 @@ export const REPORT_TYPES = {
image: accidentIcon,
marker: accidentMarker,
markerLarge: accidentMarker,
},
gcum: {
description: 'reportLabels.gcumDescription',