Fix a bug with manual address selection
This commit is contained in:
parent
e5838996ea
commit
b168fe2b9e
@ -25,7 +25,10 @@ export default {
|
|||||||
onManualLocationPicker(value) {
|
onManualLocationPicker(value) {
|
||||||
this.$store.dispatch(
|
this.$store.dispatch(
|
||||||
'setCurrentPosition',
|
'setCurrentPosition',
|
||||||
{ latLng: [value.latlng.lat, value.latlng.lng] },
|
{
|
||||||
|
coords: { latitude: value.latlng.lat, longitude: value.latlng.lng },
|
||||||
|
timestamp: new Date().getTime(),
|
||||||
|
},
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -23,7 +23,6 @@ export const REPORT_TYPES = {
|
|||||||
image: accidentIcon,
|
image: accidentIcon,
|
||||||
marker: accidentMarker,
|
marker: accidentMarker,
|
||||||
markerLarge: accidentMarker,
|
markerLarge: accidentMarker,
|
||||||
|
|
||||||
},
|
},
|
||||||
gcum: {
|
gcum: {
|
||||||
description: 'reportLabels.gcumDescription',
|
description: 'reportLabels.gcumDescription',
|
||||||
|
Loading…
Reference in New Issue
Block a user