Commit Graph
1188 Commits
Author SHA1 Message Date
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
Hannes Janetzek 44fc754b6f OBB2D optimizaitons 2014-01-26 20:36:07 +01:00
Hannes Janetzek 77e2a6607c reduce default of bitmap tiles kept in memory 2014-01-26 20:36:07 +01:00
Hannes Janetzek 818e9ecbb8 what was this sqrt() for? 2014-01-26 20:36:06 +01:00
Hannes Janetzek f8603dafe1 cleanup: Color 2014-01-26 20:36:06 +01:00
Hannes Janetzek 45b851c55c cleanup: Pool 2014-01-26 20:36:06 +01:00
Hannes Janetzek 0f02215e63 refactor: RenderElement:
- remove curItem
- rename verticesCnt -> numVertices
- add getter/setters
2014-01-26 20:36:06 +01:00
Hannes Janetzek eff5935068 refactor: TextureItem:
- use different pools for TextLayer and bitmap tiles
  to always get the correct (matching) texture from
  pool.
- the common TextureItem pool is only used to provide
  the same api, it does not keep images or textures
2014-01-26 20:36:06 +01:00
Hannes Janetzek fa2d3dd7a4 add GeometryUtils.area() for arrays 2014-01-26 20:36:06 +01:00
Hannes Janetzek f2a140e414 add option to use MeshLayer for tile polygon rendering 2014-01-26 20:36:05 +01:00
Hannes Janetzek dc37296750 use color from Area style in MeshLayer 2014-01-26 20:36:05 +01:00
Hannes Janetzek 36d540da18 Tessellator: process all polygons from GeometryBuffer
(not just the first)
2014-01-26 20:36:05 +01:00
Hannes Janetzek a0586a1897 rename: ContinuousTask -> SimpleWorker 2014-01-26 20:36:05 +01:00
Hannes Janetzek 401b0bf2dc implement managing of tasks instances in ContinuousTask 2014-01-26 20:36:05 +01:00
Hannes Janetzek c8d79ee6fc LineLayer.Renderer: pass relative scale 2014-01-26 20:36:05 +01:00
Hannes Janetzek 683e0733a5 add TileGridLayer wrapper for GridRenderer
set GridRenderer line- and text-style
2014-01-26 20:36:05 +01:00
Hannes Janetzek baceacccd5 enable logging for gwt 2014-01-26 20:36:04 +01:00
Hannes Janetzek ec1954a83a fix: gwt LwHttp emulation 2014-01-26 20:36:04 +01:00
Hannes Janetzek 9f626e3716 api changes: UrlTileSource
- move option to override getTileUrl() to UrlTileSource
- remove requirement to provide expected mime-type
- only need to use setExtension() when using the default
  url formatter.
2014-01-26 05:44:14 +01:00
Hannes Janetzek cb629744ec testing tilecache for bitmap tiles 2014-01-25 23:35:20 +01:00
Hannes Janetzek 64c4c3b93c move getZoomLevelMin()/Max() to TileSource 2014-01-25 23:35:20 +01:00
Hannes Janetzek a82da20981 TileCache: use dbName to acutally create multiple databases.. 2014-01-25 23:35:20 +01:00