This commit is contained in:
2020-11-12 18:33:25 +00:00
parent 98d0c117a4
commit 1460ca5903
2 changed files with 5 additions and 3 deletions

View File

@@ -264,7 +264,9 @@ export default {
"First", "First",
"Backward", "Backward",
"Forward", "Forward",
"Last" "Last",
"GeoCapture",
"GeoView"
], ],
//////////////////////////////////////////////////////// ////////////////////////////////////////////////////////

View File

@@ -974,7 +974,7 @@ function generateMenu(vm) {
}); });
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: "View on map", title: "GeoView",
icon: "$ayiMapMarked", icon: "$ayiMapMarked",
key: FORM_KEY + ":geoview", key: FORM_KEY + ":geoview",
vm: vm vm: vm
@@ -983,7 +983,7 @@ function generateMenu(vm) {
if (navigator.geolocation) { if (navigator.geolocation) {
// geolocation is available // geolocation is available
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: "Set to current location", title: "GeoCapture",
icon: "$ayiMapMarker", icon: "$ayiMapMarker",
key: FORM_KEY + ":geocapture", key: FORM_KEY + ":geocapture",
vm: vm vm: vm