Hannes Janetzek
08a9ca4293
merge Query- and OpenResult into IMapDatabase
2013-10-09 01:56:00 +02:00
Hannes Janetzek
119f2ac14c
Add MapElement as a buffer object to pass map elements to TileGenerator
...
- unify IMapDatabase callback
2013-10-09 01:56:00 +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
b7ca00ae8f
use WayData container to pass geometry and tags to TileGenerator
2013-10-09 01:55:58 +02:00
Hannes Janetzek
8c8750a833
add GeometryBuffer class to pass data from MapDatabase to TileGenerator
2013-10-09 01:55:57 +02:00
Hannes Janetzek
f440920a4b
cleanups
2013-10-09 01:55:57 +02:00
Hannes Janetzek
d25d967332
extract LwHttp from MapDatabase
2013-10-09 01:55:53 +02:00
Hannes Janetzek
f2b7a9fdf8
formatting
2013-10-09 01:55:52 +02:00
Hannes Janetzek
8a5ec974a1
- reuse element Tag arrays
...
- use previous elements' RenderInstructions when tags and zoom match
2013-10-09 01:55:51 +02:00
Hannes Janetzek
d61f85ef86
no need to buffer outputstream here
2013-10-09 01:55:50 +02:00
Hannes Janetzek
04cf5e76aa
cleanups
2013-10-09 01:55:49 +02:00
Hannes Janetzek
bca4a24c38
increase read-buffer if necessary
2013-10-09 01:55:47 +02:00
Hannes Janetzek
eb278585fa
more work on building layer
2013-10-09 01:52:19 +02:00
Hannes Janetzek
3c5efd17bd
fix buffer overflow
2013-10-09 01:47:43 +02:00
Hannes Janetzek
7f598f5ccf
- MapView now requires to setMapDatabase(MapOptions) explicitly
...
- pass MapOptions when opening MapDatabase
2013-10-09 01:47:43 +02:00
Hannes Janetzek
e666eb6a82
reset connection on transmission error
2013-10-09 01:47:43 +02:00
Hannes Janetzek
dd64d6da26
fix: unlock tiles properly onResume
2013-10-09 01:40:21 +02:00
Hannes Janetzek
b7aaaef485
- improve way-labeling
...
- let nomination search places instead of tags
2013-10-09 01:40:21 +02:00
Hannes Janetzek
78aac5f019
- rename MapRenderer to TileManager and refactor
...
- move overlay renderer to own package
- slight TouchHandler improvements, not start rotation when scaling
2013-10-09 01:40:21 +02:00
Hannes Janetzek
9efe46e3ba
cleanups
2013-10-09 01:39:51 +02:00
Hannes Janetzek
33d8865d7b
- started overlays
...
- started symbol layer
- move renderer and generator out of view package
- hopefully the last big refactoring for a while...
- improve perspective, plane should be more far away to decrease foreshortening
2013-10-09 01:27:43 +02:00
Hannes Janetzek
b4dd83fc09
- improve tile locking (use ref counter instead of boolean)
...
- flip over date line (inserting placeholder tiles in renderer)
- make view coordinates consistent with tile coordinates (flip on y-axis)
2013-10-09 01:22:48 +02:00
Hannes Janetzek
4fafce24b8
extract compareBytes method
2013-10-09 01:22:48 +02:00
Hannes Janetzek
c5e3be9d2b
- started to move Matrices to MapViewPosition as these can be shared with
...
MapRenderer(TileLoader) and GLRenderer.
- using inverse projection to determine visible tiles and mapping screen-coordinates to model
- making MapPosition not final, reuse instance to get Position in Map-/GLRender
added: ScanBox scanline fill used for calculating visible tiles
rename:
- ShortPool -> VertexPool
- tile.isActive -> isLocked
2013-10-09 01:22:47 +02:00
Hannes Janetzek
8ec405cf5c
- added tilt view gesture
...
- use simple line shader when rotation is disabled
2013-10-09 01:22:47 +02:00
Hannes Janetzek
363cf8b029
add available zoomlevel to MapInfo
2013-10-09 01:22:47 +02:00
Hannes Janetzek
a1317a9de5
- remove swrenderer
...
- rearchitect:
now that MapView is a ViewGroup and MapRenderer is the GLSurfaceView.
- lock/unlock proxy tiles properly to not be removed from cache while in use
2013-10-09 01:22:33 +02:00