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