Hannes Janetzek
24f699993b
make double tap zoom to screen location
2014-05-04 20:09:16 +02:00
Hannes Janetzek
d5827de12e
invert tilt gesture
2014-05-04 20:09:15 +02:00
Chuck Greb
469ca9093f
Adds double tap to zoom
2014-05-04 20:09:15 +02:00
Chuck Greb
804c91c701
Inverts behavior of double touch drag gesture
...
Per Android guidelines, double touch drag up should decrease content scale and double touch drag down should increase content scale.
This is also the behavior in the official Google Maps Android application.
http://developer.android.com/design/patterns/gestures.html
2014-05-04 20:09:15 +02:00
Hannes Janetzek
15023432cc
GLState: keep track of clear color
2014-04-03 22:53:37 +02:00
Hannes Janetzek
2833d0f5c2
PathLayer: submit update task directly
...
- revert update listener
2014-04-03 22:42:31 +02:00
Hannes Janetzek
d42b8d6af2
LwHttp: handle gzip encoding
2014-04-03 21:56:28 +02:00
Hannes Janetzek
e84afa32f7
use debug log in IOUtils.closeQuietly
2014-04-03 16:32:07 +02:00
Hannes Janetzek
cb5de5135f
cleanup: LwHttp
2014-04-03 16:32:06 +02:00
Hannes Janetzek
0b82df4c21
add http request options
2014-04-03 16:32:06 +02:00
Hannes Janetzek
85a4bbe125
api: UrlTileSource:
...
- add UrlTileSource.getTileUrl(Tile) to create complete url string
- add TileUrlFormatter interface to override default formatter
- remove unused return from sendRequest()
2014-04-03 16:12:38 +02:00
Hannes Janetzek
6b7ccd68c9
add missing headers
2014-04-03 16:12:38 +02:00
Hannes Janetzek
15cf4810cf
LwHttp: prepare tilePath as byte[]
2014-04-03 16:12:38 +02:00
Hannes Janetzek
98e30a468f
add getter for split tilePath
2014-04-03 16:12:38 +02:00
Hannes Janetzek
3f9847f617
gradle: make okhttp optional
2014-04-03 04:38:33 +02:00
Hannes Janetzek
9c4e04c4d6
api: UrlTileSource
...
- use replacement string for tilePath
- move 'low-level' formatTilePath to LwHttp
- implement LwHttpFactory
2014-04-03 04:15:46 +02:00
Hannes Janetzek
2bf5313c2b
move tests to separate project
2014-04-03 04:15:46 +02:00
Hannes Janetzek
f75702a575
create HttpEngine instances for each loader thread
2014-04-02 22:30:13 +02:00
Chuck Greb
f3035d827b
Tests OkHttp integration
2014-04-02 22:30:13 +02:00
Chuck Greb
af7d70cfd8
Extracts configurable networking layer.
...
* Extracts HttpEngine interface.
* Uses LwHttp as default networking client.
* Implements alternate networking client using OkHttp.
2014-04-02 22:30:13 +02:00
Hannes Janetzek
9bca50dfed
some modification suggested by pmd:
...
- move fields before method
- chain StringBuilder appends
2014-04-02 22:30:13 +02:00
Hannes Janetzek
e1feb4e5b7
docs: ITileDataSink
2014-04-02 22:30:12 +02:00
Hannes Janetzek
3297998a42
move unused SpriteManager to playground
2014-04-02 04:43:42 +02:00
Hannes Janetzek
6a71e53f93
findbugs: fix loop
2014-04-02 04:43:42 +02:00
Hannes Janetzek
05910f23fb
fix: update PathLayer onMapEvent when points changed
2014-04-02 02:24:17 +02:00
Hannes Janetzek
a37b503628
use one TexturePool per BitmapTileLayer
...
- dispose textures onDetach()
2014-04-01 04:03:10 +02:00
Hannes Janetzek
b45e38ef4d
dispose textures at end of each frame
2014-04-01 04:03:10 +02:00
Hannes Janetzek
e80981e0c5
add SyncPool.clear()
2014-04-01 04:03:10 +02:00
Hannes Janetzek
5131d2efd7
Merge branch 'rule_refactor'
2014-04-01 04:03:09 +02:00
Hannes Janetzek
4eedb7ff30
update file header
2014-03-31 15:31:01 +02:00
Hannes Janetzek
1f1675f188
no more Rule stack optimization
...
- the modified xml schema allows write proper rules :)
2014-03-31 15:30:53 +02:00
Hannes Janetzek
dc70104676
move ThemeBuilder
2014-03-31 15:23:08 +02:00
Hannes Janetzek
120797fe96
add RuleBuilder setters for Rule- and Style-Builders
2014-03-31 15:16:24 +02:00
Hannes Janetzek
4f254bde75
add StyleBuilder interface
2014-03-31 15:16:24 +02:00
Hannes Janetzek
f5645cf292
move RuleBuilder xml part to XmlThemeBuilder
2014-03-31 15:16:24 +02:00
Hannes Janetzek
191e94c670
merge Positive/NegativeRule into Rule
2014-03-31 15:16:24 +02:00
Hannes Janetzek
211ba90108
rendertheme: merge AttributeMatcher into Rule
...
- allow to match actual key-value-pairs.
previously value matcher just checked *any* value not
the one that matched key. See PositiveRuleKV/MultiKV
2014-03-31 15:16:24 +02:00
Hannes Janetzek
a3251a4aa6
set RenderStyle itself as current
2014-03-31 15:16:22 +02:00
Hannes Janetzek
aee1b22c89
add geoson tile source
...
- based on a patch sent by: Yang (apachemaven)
- use jackson-core for stream parsing
- rewrite tags, this way one can use the same the for different data
2014-03-30 03:49:54 +02:00
Hannes Janetzek
a6df240b8b
use GLShader for OffscreenRenderer
2014-03-27 03:59:32 +01:00
Hannes Janetzek
a7897427a3
wrap Offscreen renderer in S3DB/BuildingLayer
2014-03-27 03:59:29 +01:00
Hannes Janetzek
d90a0e9475
fx: combined ssao/fxaa shader
...
- rename and update shaders
2014-03-27 03:52:23 +01:00
Hannes Janetzek
cc95c485ce
fx: add fxaa post-process shader
2014-03-27 03:52:22 +01:00
Hannes Janetzek
3071cdd0ac
fx: add OffscreenRenderer
2014-03-27 03:52:22 +01:00
Hannes Janetzek
acdfefa55f
use GLShader.init(gl)
2014-03-27 03:51:57 +01:00
Hannes Janetzek
ce38b484f6
s3db: use css colors
2014-03-27 03:51:57 +01:00
Hannes Janetzek
c57b388472
add ColorsCSS
2014-03-27 03:14:05 +01:00
Hannes Janetzek
647a8fc2a3
limit gl upload to one building tile per frame
2014-03-27 03:14:05 +01:00
Hannes Janetzek
e7aeb92b12
limit number of tile data uploads per frame
2014-03-27 03:14:05 +01:00
Hannes Janetzek
aa4a1de6f7
s3db: use non-exception version of parseColor
2014-03-27 03:14:05 +01:00