1309 Commits

Author SHA1 Message Date
Hannes Janetzek
e99200cd61 cleanups 2014-01-31 03:56:29 +01:00
Hannes Janetzek
f631e6736f load mapsforge germany on low zoom-level... 2014-01-31 03:55:12 +01:00
Hannes Janetzek
8b645a0e8f Merge branch 'render_refactor' 2014-01-31 03:54:45 +01:00
Hannes Janetzek
ce69dde08a pass non-inverted scale to TextureRenderer 2014-01-31 03:42:22 +01:00
Hannes Janetzek
c5de7d6051 change parameter order to be more consistent 2014-01-31 03:42:21 +01:00
Hannes Janetzek
67d1813665 remove depth-projection from viewproj for tile rendering, again
- fixes issue with flickering when proxy tiles are drawn,
  where the depth buffer is used to remember previous
  clipping areas
2014-01-31 03:42:21 +01:00
Hannes Janetzek
e0e94f7286 cleanup TileRenderer 2014-01-31 03:42:21 +01:00
Hannes Janetzek
20ddff3d26 use depth clipping again but only when proxy tiles are drawn 2014-01-31 03:42:21 +01:00
Hannes Janetzek
5235e8483b refactor and cleanup RenderElement and related classes 2014-01-31 03:42:20 +01:00
Hannes Janetzek
e38c9a11ff use SimpleWorker to update PathLayer 2014-01-31 02:08:04 +01:00
Hannes Janetzek
e6c9bd09f1 fix NPE, handle CancellationException in BitmapTileLayer 2014-01-31 02:01:00 +01:00
Hannes Janetzek
3ad98603a4 fix: show markers that are partially on screen
this is more appropriate. closes #26
2014-01-29 03:57:03 +01:00
Hannes Janetzek
f5c162330a remove depth-buffer tile clipping
not needed anymore, yay!
2014-01-29 03:57:03 +01:00
Hannes Janetzek
a0111e09b7 MapRenderer: disable writes to stencil- and depth-buffer by default 2014-01-29 03:10:25 +01:00
Hannes Janetzek
bc28e0ed11 fix: LocationOverlay 2014-01-29 01:58:14 +01:00
Hannes Janetzek
be03c58402 update app
fixes #31
2014-01-29 01:23:58 +01:00
Hannes Janetzek
246d692dd7 cleanup: marker layer 2014-01-29 00:59:24 +01:00
Hannes Janetzek
aaf250dca4 show markers that are partially on screen 2014-01-29 00:56:50 +01:00
Hannes Janetzek
5ca313a9b2 fix: ItemizedLayer use item.getPoint()
closes #24
2014-01-29 00:54:34 +01:00
Hannes Janetzek
2ac7cfc7b9 add MapPosition.setByBoundingBox() 2014-01-28 17:45:35 +01:00
Hannes Janetzek
d52d761a5c add mapsforge activity to example 2014-01-28 17:45:08 +01:00
Hannes Janetzek
a7519724f8 fixup gwt 2014-01-28 07:31:09 +01:00
Hannes Janetzek
9b771595f8 reduce label flickering 2014-01-28 07:03:55 +01:00
Hannes Janetzek
beef0bfae9 more gesture improvements
good enough for today
2014-01-28 07:03:55 +01:00
Hannes Janetzek
a19a82cf6e no Closable for socket until Java 7
fixes #30
2014-01-28 05:02:24 +01:00
Hannes Janetzek
e300664a28 handle pivot for Viewport.rotateMap() and .scaleMap() consistenly 2014-01-28 05:01:36 +01:00
Hannes Janetzek
2525b60f86 improve gesture detection 2014-01-28 05:01:36 +01:00
Hannes Janetzek
0198f3d6af make start of move gesture dependent on dpi 2014-01-28 02:23:55 +01:00
Hannes Janetzek
0bc0d59446 start to improve gesture detection:
#21, #28
2014-01-28 01:57:00 +01:00
Hannes Janetzek
bda080f34f Merge branch 'refactor_labeling' 2014-01-28 01:03:19 +01:00
Hannes Janetzek
2c0eb751a7 disable clipping of way label segments for now 2014-01-28 01:01:15 +01:00
Hannes Janetzek
d70a6c5997 move WayDecorator to layers.tile.vector 2014-01-28 01:01:15 +01:00
Hannes Janetzek
b6d9ed254e splitup labeling 2014-01-28 01:01:15 +01:00
Hannes Janetzek
e620d15964 android: ScaleBar layer is back 2014-01-28 00:41:36 +01:00
Hannes Janetzek
cad5c1ed7b cancel tile loading when tile was removed from cache 2014-01-28 00:36:57 +01:00
Hannes Janetzek
3543b71671 fix NPE in LwHttp
hopefully this fixes #27, check mResposeStream != null.
release references to streams when socket is closed()
2014-01-28 00:36:57 +01:00
Hannes Janetzek
9351380645 fix: only write to cache when full content was read 2014-01-28 00:36:56 +01:00
Hannes Janetzek
666803250c fix: typo in api
fixes #25
2014-01-27 15:21:26 +01:00
Hannes Janetzek
c49618a653 Merge branch 'android_marker' 2014-01-27 15:16:53 +01:00
Hannes Janetzek
ffce767615 remove old Android.makeMarker() 2014-01-27 15:08:05 +01:00
Stephan Leuschner
9ec72aabe3 Update AndroidGraphics.java
add static makeMarker to create Marker from Drawable
2014-01-27 14:42:42 +01:00
Hannes Janetzek
8eb6377a69 fix: NPE in BitmapTileLayer
fixes #27
2014-01-27 14:35:24 +01:00
Hannes Janetzek
67edb98d12 fix deadlock: do not lock Viewport while calling MapAnimator
"GLThread 4500" prio=5 tid=11 MONITOR
at org.oscim.map.MapAnimator.updateAnimation(MapAnimator.java:~186)
  - waiting to lock <0x42105030> (a org.oscim.map.MapAnimator) held by tid=1 (main)

"main" prio=5 tid=1 MONITOR
    at org.oscim.map.Viewport.getMapPosition(Viewport.java:~111)
  - waiting to lock <0x42103368> (a org.oscim.map.Viewport) held by tid=11 (GLThread 4500)
  at org.oscim.map.MapAnimator.animateFling(MapAnimator.java:151)
2014-01-27 00:58:20 +01:00
Hannes Janetzek
d85782b055 add attribution/terms-of-use note 2014-01-26 21:58:39 +01:00
Hannes Janetzek
e0df6ce58a refactor: rename QuadTreeIndex to QuadTree 2014-01-26 20:36:08 +01:00
Hannes Janetzek
27dc7f1f2d refactor: rename QuadTree to Node 2014-01-26 20:36:07 +01:00
Hannes Janetzek
a42bd9684f LineLayer: drop line segments short than 1/8 2014-01-26 20:36:07 +01:00
Hannes Janetzek
457e3006a6 add debug draw for MeshLayer 2014-01-26 20:36:07 +01:00
Hannes Janetzek
4351ff82fc add FastMath.withinSquaredDistance() 2014-01-26 20:36:07 +01:00
Hannes Janetzek
7ae8ee4405 add GeometryUtils.squareSegmentDistance() 2014-01-26 20:36:07 +01:00