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
e4276ae9c4
avoid overflow when reading more than 64k into buffer
...
(we had only two tiles where this could have happend :)
2013-10-09 01:47:43 +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
4a5142fdf6
keep mapfile-writer/db from bit-rotting
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
28cc35a32d
rename MapGenerator -> TileGenerator
2013-10-09 01:22:33 +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
Hannes Janetzek
e2da87d8e0
switch package org.mapsforge -> org.oscim
2013-10-09 01:22:33 +02:00