Hannes Janetzek
5a2cfe16a5
improve GridOverlay, keep TextLayer to not create new Canvas on each update
2013-10-09 01:56:02 +02:00
Hannes Janetzek
8bea920253
remove tilesChanged parameter of RenderLayer.update as there is no more global tile layer
...
- fix PathOverlay update
2013-10-09 01:56:01 +02:00
Hannes Janetzek
57ec6ea067
fix TextGridLayer
2013-10-09 01:56:01 +02:00
Hannes Janetzek
78d67a4bff
release TextItems to pool
2013-10-09 01:55:59 +02:00
Hannes Janetzek
ca311f0bcf
provide public function to only retrieve valid base layers type
2013-10-09 01:55:59 +02:00
Hannes Janetzek
eb6778a907
- start to extract android graphics dependency
...
- make IRenderThemeCallback more consistent
2013-10-09 01:55:59 +02:00
Hannes Janetzek
ab56cc4b18
pooled items now extend pool.Inlist and using generic pool.SyncPool
2013-10-09 01:55:59 +02:00
Hannes Janetzek
491e41becc
rename Tile.TILE_SIZE to Tile.SIZE, while I'm at refactoring
2013-10-09 01:55:58 +02:00
Hannes Janetzek
8e01dce85e
-use absolute x/y position and scale in MapPosition
...
- scale calculations look much nicer now, better always
use 'double' unless you are sure about precision required
- finally got rid of zoomLevel relative coordinates
- cleanup MapPosition and MercatorProjection API functions
2013-10-09 01:55:58 +02:00
Hannes Janetzek
bef8e125fb
MapPosition: use int to represent zoomLevel
...
add MapPosition.setFromLatLon utility
2013-10-09 01:55:58 +02:00
Hannes Janetzek
a818e2f062
use MapPosition.copy(other)
2013-10-09 01:55:57 +02:00
Hannes Janetzek
f262efee7f
Use native Matrix4 instead of float[16]
2013-10-09 01:55:56 +02:00
Hannes Janetzek
82eb60e2a9
cleanups
2013-10-09 01:55:55 +02:00
Hannes Janetzek
019c39d8b8
start render early
2013-10-09 01:55:51 +02:00
Hannes Janetzek
bb22ecd7e3
extract Layer drawing utilities from RenderOverlay into BasicOverlay
2013-10-09 01:55:50 +02:00
Hannes Janetzek
f761be1999
refactor: rename RenderOverlay classes
2013-10-09 01:47:43 +02:00