mirror of https://github.com/espruino/BangleApps
osm 0.25: Enable scaled image filtering on 2v19+ firmware
parent
de1287a685
commit
614c003eca
|
@ -29,3 +29,4 @@
|
|||
0.22: Replace position marker with direction arrow
|
||||
0.23: Bugfix: Enable Compass if needed
|
||||
0.24: Allow zooming by clicking the screen
|
||||
0.25: Enable scaled image filtering on 2v19+ firmware
|
|
@ -2,7 +2,7 @@
|
|||
"id": "openstmap",
|
||||
"name": "OpenStreetMap",
|
||||
"shortName": "OpenStMap",
|
||||
"version": "0.24",
|
||||
"version": "0.25",
|
||||
"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",
|
||||
|
|
|
@ -52,6 +52,7 @@ exports.draw = function() {
|
|||
if (d!=1) { // if the two are different, add scaling
|
||||
s *= d;
|
||||
o.scale = d;
|
||||
o.filter = true; // on 2v19+ enables supersampling
|
||||
}
|
||||
//console.log(ix,iy);
|
||||
var tx = 0|(ix/s);
|
||||
|
|
Loading…
Reference in New Issue