17 Commits

Author SHA1 Message Date
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
5f37f2f0de fix mapsforge data source 2013-10-09 01:55:58 +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
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
f8f96c58cf map file reader: add houseNr and ref tags back 2013-10-09 01:55:57 +02:00
Hannes Janetzek
179212affc mapsforge file reader:
- add support for file version 3 back
- project POIs
- fix sync of shared Header and Index
2013-10-09 01:55:55 +02:00
Hannes Janetzek
654e666c81 mapsforge reader is halfway back to life 2013-10-09 01:55:55 +02:00
Hannes Janetzek
f2b7a9fdf8 formatting 2013-10-09 01:55:52 +02:00
Hannes Janetzek
eb278585fa more work on building layer 2013-10-09 01:52:19 +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
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
4a5142fdf6 keep mapfile-writer/db from bit-rotting 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
Hannes Janetzek
e2da87d8e0 switch package org.mapsforge -> org.oscim 2013-10-09 01:22:33 +02:00