Commit graph

29888 commits

Author SHA1 Message Date
xmd5a
984dda798e Update turn lanes test json 2016-03-28 21:59:51 +03:00
Andrew Davie
c8a245d031 Honoured isCancelled() for the async renderer, and return correct status
This should speed up things a bit by killing background tasks earlier
2016-03-29 04:57:52 +11:00
Andrew Davie
93587fe210 Very clean OO-type classes for the renderers and asynchronous resamplers. 2016-03-29 03:58:16 +11:00
Yuriy Ridkous
aca4b95f13 Merge pull request #5 from osmandapp/master
update
2016-03-28 17:04:59 +03:00
Victor Shcherb
db54e27454 Update turn types tertiary 2016-03-28 15:51:52 +02:00
Victor Shcherb
a580d65604 Fix compilation 2016-03-28 15:44:54 +02:00
Victor Shcherb
f8c459146b Fix compilation 2016-03-28 15:42:44 +02:00
Victor Shcherb
0f86f53b5e Fix turn lanes 2016-03-28 15:10:47 +02:00
Victor Shcherb
d8a2b60436 Add map icons 2016-03-28 14:54:31 +02:00
Weblate
7a29807aea Merge remote-tracking branch 'origin/master' 2016-03-28 14:53:44 +02:00
Ldm Public
d590250dd0 Translated using Weblate (French)
Currently translated at 99.8% (1952 of 1954 strings)
2016-03-28 14:53:33 +02:00
vshcherb
900d56d1ed Merge pull request #2375 from yurkiss/test_turn_lanes_1
Update LanesDrawable
2016-03-28 14:53:26 +02:00
Andrew Davie
109ca692f1 New GPX track rendering and animation/overlay package.
WHAT THIS PROVIDES:

A generic rendering/draw of GPX tracks that allows multiple 'renders' to be included as a part of the draw of any
TrkSegment. These 'renders' include the basic track drawing, but also other options such as dashed lines,
rainbow-coloured altitude indication, speed indication, arrows to point direction, animating 'lines' showing
direction of movement, and dots/text showing 1km (or any other) distances along tracks.  It's very extendable
and incredibly cheap in terms of procesisng speed.

For a view of some of these operating on this version of the code, see https://youtu.be/aRGCNLmBAlk

Additionally, all of the above have automatic asynchronous track resampling - either via line culling of
Ramer-Douglas-Peucer (implemented for the base track draw at different zooms), or an actual resampler that
takes a distance and steps off and creates a new track with points spaced exactly that distance apart along
the original track. The asynchronous resampling/culling willl automatically enable the new (optimal) track
display when the background task has completed.

This is completely up to date with the master branch as of an hour or so ago!

Two modified files
 - GPXUtilities
   Added some fields to WptPt to enable distance measurement on tracks and colouring for altitude/speed
 - GPXLayer
   Installed the new track rendering with examples (commented/out)

Two new files
 - AsynchronousResampler.java
    Implements line resampling and culling asynchrnonously for all line drawing
 - Renderable.java
    Set of classes for drawing different kinds of gpx 'renders'
     - normal with automatic Ramer-Douglas-Peucer line culling
     - conveyor-belt type animation of segments on a path
     - altitude colouring of a path
     - speed colouring of a path
     - distance based waypoint/marker drawing
2016-03-28 23:40:30 +11:00
GaidamakUA
fb7215d80c Non clickable categories in list. 2016-03-28 15:15:40 +03:00
Weblate
62fac13d26 Merge remote-tracking branch 'origin/master' 2016-03-28 12:12:49 +02:00
Hinagiku Zeppeki
a874a518ed Translated using Weblate (Japanese)
Currently translated at 99.9% (1953 of 1954 strings)
2016-03-28 12:12:39 +02:00
GaidamakUA
3be10f89b6 More refactoring. 2016-03-28 13:12:27 +03:00
GaidamakUA
5f9352b404 More refactoring. 2016-03-28 13:12:27 +03:00
y.ridkous@gmail.com
1203631e34 Update LanesDrawable 2016-03-28 00:06:41 +03:00
Weblate
ce2f2eceee Merge remote-tracking branch 'origin/master' 2016-03-27 22:54:15 +02:00
YFdyh000
c2ebc25b9d Translated using Weblate (Simplified Chinese)
Currently translated at 56.6% (1106 of 1954 strings)
2016-03-27 22:54:09 +02:00
Hinagiku Zeppeki
1cd5a7382a Translated using Weblate (Japanese)
Currently translated at 99.9% (1953 of 1954 strings)
2016-03-27 22:54:06 +02:00
Viktar Palstsiuk
ccdddf49d2 Translated using Weblate (Belarusian)
Currently translated at 99.5% (1945 of 1954 strings)
2016-03-27 22:54:03 +02:00
Victor Shcherb
adc1a8c2ab Update version 2016-03-27 22:53:14 +02:00
y.ridkous@gmail.com
19d42fba3e Update LanesDrawable 2016-03-27 23:46:23 +03:00
Yuriy Ridkous
feb15e7d2e Merge pull request #4 from osmandapp/master
update
2016-03-27 23:40:40 +03:00
Weblate
e2ec85b1c9 Merge remote-tracking branch 'origin/master' 2016-03-26 18:43:10 +01:00
jan madsen
16e586058b Translated using Weblate (Danish)
Currently translated at 100.0% (2469 of 2469 strings)
2016-03-26 18:43:05 +01:00
Hinagiku Zeppeki
da5d3e4db6 Translated using Weblate (Japanese)
Currently translated at 99.9% (1953 of 1954 strings)
2016-03-26 18:43:00 +01:00
Alexey Kulish
40c7f7b7ce Fix storage selection crash 2016-03-26 20:42:44 +03:00
GaidamakUA
09b78d044f Refactoring 2016-03-25 18:56:48 +02:00
GaidamakUA
12f8c1f115 Reordering. 2016-03-25 15:30:59 +02:00
GaidamakUA
1ae6683dbc Revert "ContextMenuAdapter refactoring. Need to review GpxUiHelper."
This reverts commit f010b21fda.
2016-03-25 15:29:25 +02:00
GaidamakUA
61cc83da27 Revert "Revert "Skip permission and storage dialog first time""
This reverts commit da64aeea1c.
2016-03-25 15:28:48 +02:00
GaidamakUA
da64aeea1c Revert "Skip permission and storage dialog first time"
This reverts commit 9baf7df13d.
2016-03-25 15:27:06 +02:00
GaidamakUA
f010b21fda ContextMenuAdapter refactoring. Need to review GpxUiHelper. 2016-03-25 09:48:46 +02:00
Alexey Kulish
9baf7df13d Skip permission and storage dialog first time 2016-03-24 18:32:24 +03:00
GaidamakUA
f410fbf03c Fixed string problem 2016-03-24 16:05:51 +02:00
Alexey Kulish
e2036d3792 Revert "Fix first start screen after permission"
This reverts commit 0fde34eecb.
2016-03-24 16:44:10 +03:00
Alexey Kulish
0fde34eecb Fix first start screen after permission 2016-03-24 15:34:06 +03:00
Weblate
b5fbd3d131 Merge remote-tracking branch 'origin/master' 2016-03-24 10:08:07 +01:00
Rafał Michalski
774ba797a1 Translated using Weblate (Polish)
Currently translated at 47.6% (1177 of 2469 strings)
2016-03-24 10:08:05 +01:00
Rafał Michalski
b23716c5c6 Translated using Weblate (Polish)
Currently translated at 100.0% (1954 of 1954 strings)
2016-03-24 10:08:00 +01:00
Yogesh
21df054a40 Translated using Weblate (Kannada)
Currently translated at 12.3% (241 of 1954 strings)
2016-03-24 10:07:57 +01:00
Hinagiku Zeppeki
5fd423546b Translated using Weblate (Japanese)
Currently translated at 99.9% (1953 of 1954 strings)
2016-03-24 10:07:57 +01:00
Verdulo
25ecc74848 Translated using Weblate (Esperanto)
Currently translated at 41.5% (812 of 1954 strings)
2016-03-24 10:07:55 +01:00
Viktar Palstsiuk
ca84625fb8 Translated using Weblate (Belarusian)
Currently translated at 99.5% (1945 of 1954 strings)
2016-03-24 10:07:54 +01:00
vshcherb
f68fd9aa71 Update AndroidManifest.xml 2016-03-24 10:07:50 +01:00
Weblate
2f314618b9 Merge remote-tracking branch 'origin/master' 2016-03-23 22:36:23 +01:00
Jurijus
afcabad8ec Translated using Weblate (Lithuanian)
Currently translated at 97.5% (1906 of 1954 strings)
2016-03-23 22:36:15 +01:00