OsmAnd/OsmAnd
Andrew Davie 778a243cdf Bugfix: Current Track disappeared when starting point wandered offscreen
The 'bounds' that I had implemeted earlier described the minimal rectangle inside which a whole track was contained. This
bounding rectangle was used to quickly cull all track types at draw-time. And it worked well... too well!  The current track
is continually adding points to itself, so its bounds need to be recalculated regularly, not just at startup like other
track types.

So, I've implemented a new Renderable, 'CurrentTrack' which does the special handling for that type of track. It is
smart in that it only recalculates/updates bounding rectangle on the newly added points, so it's very quick. I tested
it on my phone and it appears to be working OK.

Other minor adjustments here and there as I tweak things.
2016-04-01 17:00:02 +11:00
..
.settings
ant-lib
assets Update build gradle 2015-12-17 15:09:51 +02:00
jni
libs Reports fragment. Json parsing GSON implementation. 2016-01-12 18:47:07 +02:00
res Translated using Weblate (Simplified Chinese) 2016-03-27 22:54:09 +02:00
src Bugfix: Current Track disappeared when starting point wandered offscreen 2016-04-01 17:00:02 +11:00
.classpath
.cproject
.gitignore Update build gradle 2015-12-17 15:09:51 +02:00
.project
AndroidManifest-free.xml Fixed provider authorities. 2016-03-21 11:58:43 +02:00
AndroidManifest-freedev.xml Fixed provider authorities. 2016-03-21 11:58:43 +02:00
AndroidManifest.xml Update AndroidManifest.xml 2016-03-24 10:07:50 +01:00
ant.properties
bidforfix.xml
build.gradle Fixed icons in Live Updates reports. Added GridLayout support library 2016-03-05 15:20:24 +03:00
build.xml
copy_widget_icons.sh
full-ndk-build.sh
lint.xml
local.properties.sample
ndebug.sh
ndk-build.sh
no_translate.xml Update version 2016-03-27 22:53:14 +02:00
old-ndk-build.sh
proguard-project.txt
project.properties Fixed icons in Live Updates reports. Added GridLayout support library 2016-03-05 15:20:24 +03:00