12/21/2012, 05:57 AM
tonight I had a dream... today I tried it, a map smooth moving in my app was born! Finally, based on my early previous attempts to do the trick, now I found a way... and I´m excited! My custom map moving functions works and looks like very well. But it is in very early alpha state.
Who can try it, just download the Technology preview here: http://www.volny.cz/hp2/webos/maps/c..._0.2.9_all.ipk
Flick is disabled, just try the standard movement and let me know, how do you feel it. Tested on my Pre3.
The trick is, that when you put your finger to the screen, my custom functions started to manage the moving. It snaps the map container and apply the webkit translate transitions and if you leave your finger, at the same time (and that´s the trick) I call the map to set the new center and back the container position to 0,0 coordinates.
The transition is almost invisible and it makes me happy
And more... it allows me to do more than smooth moving, I can try to do smooth zoom, zoom while moving... I´m looking forward to over-day coding during Christmas!!
Don´t forget, this version is only for this purpose, uninstall after use, contains dirty code (may freez the app). Focused only for preview of smooth moving.