25 Commits

Author SHA1 Message Date
Hannes Janetzek
99ce02a9bd -rename BuildingOverlay -> ExtrusionOverlay,
even if there is probably nothing else to extrude
- started to draw extrusion layer for proxy tiles
- fixed depth offsetting..
2013-10-09 01:52:20 +02:00
Hannes Janetzek
eb278585fa more work on building layer 2013-10-09 01:52:19 +02:00
Hannes Janetzek
cfa56c00f6 move TileGenerator from 'renderer' to 'generator' package 2013-10-09 01:47:44 +02:00
Hannes Janetzek
f761be1999 refactor: rename RenderOverlay classes 2013-10-09 01:47:43 +02:00
Hannes Janetzek
c5663df198 close polygons implicitly when using OSciMap2 database 2013-10-09 01:47:43 +02:00
Hannes Janetzek
74b5de13b8 use internal zoomLevel limits for now 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
dd64d6da26 fix: unlock tiles properly onResume 2013-10-09 01:40:21 +02:00
Hannes Janetzek
7dd171dc24 unix line delimiters 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
0eda94864f TileMapApp: improve POI overlays 2013-10-09 01:40:21 +02:00
Hannes Janetzek
ab5962d56c add osmdroid overlays + bonuspack 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
4a06553ddc more work on overlay renderer:
- moved text rendering to overlay
- added grid overlay
2013-10-09 01:27:43 +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
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
7d7cf10d89 - fixed MapViewPosition scaleMap
- fixed GLRender isVisible() for proxy tiles
- smoother scale animation
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
6ee2a85e12 fixes:
- start MapWorkers at end of init
- check for screensize > 0 in updateMap
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
caea9cd7c9 move PausableThread to mapgenerator package
- add experimental regionlookup
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