|
@@ -111,7 +111,7 @@ const MapNavigator: React.FC = ({ }) => {
|
|
*/
|
|
*/
|
|
const promptAddLandmark = async (longitude?: number, latitude?: number, floor?: number) => {
|
|
const promptAddLandmark = async (longitude?: number, latitude?: number, floor?: number) => {
|
|
console.log('[Map]: Opening add landmark panel...')
|
|
console.log('[Map]: Opening add landmark panel...')
|
|
- mapState.setNewLandmark({ latitude: latitude, longitude: longitude, floor: floor });
|
|
|
|
|
|
+ mapState.setNewLandmark({ latitude: latitude, longitude: longitude, floor: floor, voice: false });
|
|
mapState.toggleLmAdd(true)
|
|
mapState.toggleLmAdd(true)
|
|
mapState.toggleLmDetails(false)
|
|
mapState.toggleLmDetails(false)
|
|
}
|
|
}
|