Commit Graph
86 Commits
Author SHA1 Message Date
Hannes Janetzek 38e2ac110d - use self-made fling
- add utilities from libgdx
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 e47594d2b8 decrease fling speed 2013-10-09 01:55:56 +02:00
Hannes Janetzek edd74160a1 fix bbox scale calculation 2013-10-09 01:55:56 +02:00
Hannes Janetzek 555a951d25 improve MapViewAnimation 2013-10-09 01:55:56 +02:00
Hannes Janetzek 1dbd30307b cleanups + tweaks 2013-10-09 01:55:56 +02:00
Hannes Janetzek 6b39c95905 moving all animation to MapViewPostion,
- this also allows TileManager to predict next visible tiles
- got rid of zoom-level dependent scale
2013-10-09 01:55:56 +02:00
Hannes Janetzek 5230aee091 avoid zoom-level relative calculation 2013-10-09 01:55:56 +02:00
Hannes Janetzek c14d101aef - allow bbox zoom to scale to MAX_END_SCALE
- use FastMath.clamp
2013-10-09 01:55:56 +02:00
Hannes Janetzek 2cb8a9d45f keep a reference to MapView in Overlay 2013-10-09 01:55:56 +02:00
Hannes Janetzek cd54f0dfe6 begin integrating of area zoom interaction 2013-10-09 01:55:56 +02:00
Hannes Janetzek e05921efdd make getStartPosition() public 2013-10-09 01:55:55 +02:00
Hannes Janetzek e1ce1b056b mapsforge should also produce implicitly clsed polys 2013-10-09 01:55:55 +02:00
Hannes Janetzek 0e96747939 cleanups 2013-10-09 01:55:55 +02:00
Hannes Janetzek ebd7453348 more tilt 2013-10-09 01:55:55 +02:00
Hannes Janetzek 722663c5f8 dont mess with which pointer is which.. just use index 0 and 1 in gestures 2013-10-09 01:55:55 +02:00
Hannes Janetzek a581996f25 On options change set 'clearMap' flag instead of direct clearAndRedraw 2013-10-09 01:55:54 +02:00
Hannes Janetzek 54d3fe332b cleanups 2013-10-09 01:55:54 +02:00
Hannes Janetzek 45bb326258 update copyright 2013-10-09 01:55:53 +02:00
Hannes Janetzek 55030c1166 refactor: dont pass matrices with MapPosition -> use GLRender.Matrices 2013-10-09 01:55:53 +02:00
Hannes Janetzek 8db24eaacf add labeling debug option 2013-10-09 01:55:53 +02:00
Hannes Janetzek 7b87e8fdc1 block 'tilt' gesture only when 'rotation' is active 2013-10-09 01:55:53 +02:00
Hannes Janetzek bdbdbb5905 tweak gesture detection 2013-10-09 01:55:52 +02:00
Hannes Janetzek 023755655b fix jumping gestures: update pointer IDs on pointer up/down 2013-10-09 01:55:52 +02:00
Hannes Janetzek ed34c3b63a decrease change of scale by the change of rotation 2013-10-09 01:55:52 +02:00
Hannes Janetzek a9dc0d483c use dpi for gesture recognition 2013-10-09 01:55:52 +02:00
Hannes Janetzek 3b67e4a3d1 use dpi for label size 2013-10-09 01:55:52 +02:00
Hannes Janetzek 343a3bd1b3 improve multitouch gesture detection 2013-10-09 01:55:52 +02:00
Hannes Janetzek 7c6ec614a2 make TileManager non-static 2013-10-09 01:55:52 +02:00
Hannes Janetzek fada95f380 cleanups + comments 2013-10-09 01:55:52 +02:00
Hannes Janetzek f2b7a9fdf8 formatting 2013-10-09 01:55:52 +02:00
Hannes Janetzek 93fde349c6 rename variable 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 e9f135b3ab update of Tile- and OverlayManager need to be done async for this 2013-10-09 01:55:51 +02:00
Hannes Janetzek 019c39d8b8 start render early 2013-10-09 01:55:51 +02:00
Hannes Janetzek db93fbe4f6 make TileManager non static 2013-10-09 01:55:50 +02:00
Hannes Janetzek 4990b827d9 rename osmarender theme to 'default' 2013-10-09 01:55:49 +02:00
Hannes Janetzek de88c33701 fling velocity is in pixel-per-second, so make it dpi-dependent 2013-10-09 01:55:49 +02:00
Hannes Janetzek 70e6266319 sanitize map scale input 2013-10-09 01:55:49 +02:00
Hannes Janetzek b8287f9ecf move near plane back, fixes clipping issue with most large buildings 2013-10-09 01:55:48 +02:00
Hannes Janetzek 4acd9a492f finally got that z-value for un-projection right (=
- add more matrix utilities
2013-10-09 01:55:48 +02:00
Hannes Janetzek 80de20a423 reworking the gl projection/unprojection stuff 2013-10-09 01:55:47 +02:00
Hannes Janetzek 30fede04d2 magnetic-fling: move by screen size 2013-10-09 01:55:47 +02:00
Hannes Janetzek e9d2c88022 TileManager, JobQueue: use MapTile[] instead of list 2013-10-09 01:55:47 +02:00
Hannes Janetzek 70b7c79a8e started paged-fling mode, not enabled yet 2013-10-09 01:52:20 +02:00
Hannes Janetzek 28278ba102 start actual BuildingOverlay 2013-10-09 01:52:20 +02:00
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 49055f2cc2 docs 2013-10-09 01:47:44 +02:00
Hannes Janetzek cfa56c00f6 move TileGenerator from 'renderer' to 'generator' package 2013-10-09 01:47:44 +02:00