commit
bc48d50e3d
|
|
@ -33,3 +33,4 @@
|
||||||
0.26: Ensure that when redrawing, we always cancel any in-progress track draw
|
0.26: Ensure that when redrawing, we always cancel any in-progress track draw
|
||||||
0.27: Display message if no map is installed
|
0.27: Display message if no map is installed
|
||||||
0.28: Fix rounding errors
|
0.28: Fix rounding errors
|
||||||
|
0.29: move exit to bottom of menu
|
||||||
|
|
|
||||||
|
|
@ -172,7 +172,6 @@ function showMenu() {
|
||||||
var menu = {
|
var menu = {
|
||||||
"":{title:/*LANG*/"Map"},
|
"":{title:/*LANG*/"Map"},
|
||||||
"< Back": ()=> showMap(),
|
"< Back": ()=> showMap(),
|
||||||
/*LANG*/"Exit": () => load(),
|
|
||||||
};
|
};
|
||||||
// If we have a GPS fix, add a menu item to center it
|
// If we have a GPS fix, add a menu item to center it
|
||||||
if (fix.fix) menu[/*LANG*/"Center GPS"]=() =>{
|
if (fix.fix) menu[/*LANG*/"Center GPS"]=() =>{
|
||||||
|
|
@ -180,7 +179,6 @@ function showMenu() {
|
||||||
m.lon = fix.lon;
|
m.lon = fix.lon;
|
||||||
showMap();
|
showMap();
|
||||||
};
|
};
|
||||||
|
|
||||||
menu = Object.assign(menu, {
|
menu = Object.assign(menu, {
|
||||||
/*LANG*/"Zoom In": () =>{
|
/*LANG*/"Zoom In": () =>{
|
||||||
m.scale /= 2;
|
m.scale /= 2;
|
||||||
|
|
@ -234,6 +232,7 @@ function showMenu() {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
menu[/*LANG*/"Exit"] = () => load();
|
||||||
E.showMenu(menu);
|
E.showMenu(menu);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
"id": "openstmap",
|
"id": "openstmap",
|
||||||
"name": "OpenStreetMap",
|
"name": "OpenStreetMap",
|
||||||
"shortName": "OpenStMap",
|
"shortName": "OpenStMap",
|
||||||
"version": "0.28",
|
"version": "0.29",
|
||||||
"description": "Loads map tiles from OpenStreetMap onto your Bangle.js and displays a map of where you are. Once installed this also adds map functionality to `GPS Recorder` and `Recorder` apps",
|
"description": "Loads map tiles from OpenStreetMap onto your Bangle.js and displays a map of where you are. Once installed this also adds map functionality to `GPS Recorder` and `Recorder` apps",
|
||||||
"readme": "README.md",
|
"readme": "README.md",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue