gipy: fix for zoom + touch update
parent
bd3f4489c4
commit
7e6b77ff4e
|
|
@ -120,10 +120,11 @@
|
||||||
* New display algorithm : way faster, larger roads, zooming out is now ok
|
* New display algorithm : way faster, larger roads, zooming out is now ok
|
||||||
* You will need to re-generate your maps because the new algorithm uses a different scale
|
* You will need to re-generate your maps because the new algorithm uses a different scale
|
||||||
* Better path simplification
|
* Better path simplification
|
||||||
* Waypoints autodetection using the map
|
|
||||||
* New option: sleep between waypoints
|
|
||||||
* Removed sharp turns auto-detection
|
* Removed sharp turns auto-detection
|
||||||
|
* Waypoints autodetection using the map : this will generate more points than really needed but can still be effective.
|
||||||
|
* New option: sleep between waypoints
|
||||||
* Interface: centered svg preview + display file sizes
|
* Interface: centered svg preview + display file sizes
|
||||||
* Interface: disable/enable waypoints detection and elevation
|
* Interface: disable/enable waypoints detection and elevation
|
||||||
* Touching the screen when sleeping will wake up but not change screen
|
* Touching the screen when sleeping will wake up but not change screen
|
||||||
* Removing footways (if bicycles not allowed) to reduce resource usage
|
* Removing footways (if bicycles not allowed) to reduce resource usage
|
||||||
|
* Switching screen will clear the screen immediately so you can know your screen touch has been received
|
||||||
|
|
@ -1411,8 +1411,8 @@ function start_gipy(path, maps, interests, heights) {
|
||||||
value: status.zoomed_in,
|
value: status.zoomed_in,
|
||||||
format: (v) => (v ? "In" : "Out"),
|
format: (v) => (v ? "In" : "Out"),
|
||||||
onchange: (v) => {
|
onchange: (v) => {
|
||||||
status.reset_images_cache();
|
|
||||||
status.zoomed_in = v;
|
status.zoomed_in = v;
|
||||||
|
status.reset_images_cache();
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
/*LANG*/
|
/*LANG*/
|
||||||
|
|
@ -1461,6 +1461,8 @@ function start_gipy(path, maps, interests, heights) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (active && status.heights !== null) {
|
if (active && status.heights !== null) {
|
||||||
|
g.clear();
|
||||||
|
g.flip();
|
||||||
status.screen = (status.screen + 1) % 3;
|
status.screen = (status.screen + 1) % 3;
|
||||||
status.display();
|
status.display();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue