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
a818e2f062
use MapPosition.copy(other)
2013-10-09 01:55:57 +02:00
Hannes Janetzek
f262efee7f
Use native Matrix4 instead of float[16]
2013-10-09 01:55:56 +02:00
Hannes Janetzek
c0a08c11c8
rename COORD_MULTIPLIER to COORD_SCALE
2013-10-09 01:55:55 +02:00
Hannes Janetzek
55030c1166
refactor: dont pass matrices with MapPosition -> use GLRender.Matrices
2013-10-09 01:55:53 +02:00
Hannes Janetzek
f2b7a9fdf8
formatting
2013-10-09 01:55:52 +02:00
Hannes Janetzek
bb22ecd7e3
extract Layer drawing utilities from RenderOverlay into BasicOverlay
2013-10-09 01:55:50 +02:00
Hannes Janetzek
54923d6bff
fix bug overlay lines causing short flashing lines when changing zoom-levels
2013-10-09 01:55:49 +02:00
Hannes Janetzek
a7790537f2
use matrix utilities
2013-10-09 01:55:48 +02:00
Hannes Janetzek
7cc32f1572
use GLState for depth and stencil test
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
eb0b7a8c0c
add beginnings of OverlayModel, rendering only a box atm
...
- modified gl projection so that map layer is always between near- and far-plane
2013-10-09 01:47:43 +02:00
Hannes Janetzek
3dc36e108a
- rename class Tiles -> TileSet
...
- cleanup + comments
2013-10-09 01:47:43 +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
ab5962d56c
add osmdroid overlays + bonuspack
2013-10-09 01:40:21 +02:00