Hannes Janetzek
d9cbd12c16
extract PostGIS db backend
2013-10-09 01:56:00 +02:00
Hannes Janetzek
c08b481796
remove unused WebMercator
2013-10-09 01:56:00 +02:00
Hannes Janetzek
9c3c860da8
cleanups
2013-10-09 01:55:59 +02:00
Hannes Janetzek
18a8b292d2
use MapPosition.scale: get rid of zoomLevel relative functions in MercatorProjection
2013-10-09 01:55:59 +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
a6063997db
make RenderTheme only return render instruction
...
- i.e. dont pass render callback
remove unused matchWay function
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
f440920a4b
cleanups
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
52a7518db9
cleanups
2013-10-09 01:55:55 +02:00
Hannes Janetzek
45bb326258
update copyright
2013-10-09 01:55:53 +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
76e1dcae7c
- fix issue with hanging ui on clse when network is down
...
- add getters for rotation/compass enabled
- cleanups
2013-10-09 01:55:51 +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
ddc5466789
add landuse:urban tag
2013-10-09 01:55:49 +02:00
Hannes Janetzek
38e19a857c
more experimental dbs
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
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