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
Hannes Janetzek
1bda9aff3f
LwHttp: take skip() position into account for writing to cache
2014-01-25 23:35:20 +01:00
Hannes Janetzek
305032707b
google maps tiles
2014-01-25 23:35:19 +01:00
Hannes Janetzek
7f41a591c8
LwHttp: add workaround for bug in Android image decoder (around version 4.1.2)
2014-01-25 22:05:30 +01:00
Hannes Janetzek
ddb410fea0
rename DBG -> dbg, looks nicer imo
2014-01-25 21:35:22 +01:00
Hannes Janetzek
984a17ef35
LwHttp: add Buffer.skip()
2014-01-25 21:35:22 +01:00
Hannes Janetzek
3c133af4df
LwHttp: provide user-agent in header
2014-01-25 21:35:22 +01:00
Hannes Janetzek
833f49eb35
refactor: theme...RenderInstruction -> theme.styles.RenderStyle
2014-01-25 20:42:32 +01:00
Hannes Janetzek
1e2837c33f
reenable building layer in example
2014-01-25 20:41:48 +01:00
Hannes Janetzek
3e2a9a5187
rename: TileLayer.getTileLayer() -> .getTileRenderer()
2014-01-25 20:41:48 +01:00
Hannes Janetzek
142b2e143d
android-example app name
2014-01-25 20:36:54 +01:00
Hannes Janetzek
5364651a94
cleanups
2014-01-25 20:36:54 +01:00
Hannes Janetzek
1170e4a91a
implement LwHttp.Buffer.mark()/reset()
...
- fixes bitmap tile loading
2014-01-25 20:36:54 +01:00
Hannes Janetzek
a739c92f4a
eclipse: gwt
2014-01-24 03:09:18 +01:00
Hannes Janetzek
93af135d6d
eclipse: export slf4j
2014-01-24 03:09:08 +01:00
Hannes Janetzek
b2f0bd0e3d
disable debug
2014-01-21 17:22:37 +01:00
Hannes Janetzek
154da99d40
fix: LwHttp cache writes
2014-01-21 16:51:30 +01:00
Hannes Janetzek
dc74949736
fix: sync ElementRenderer, add docs
2014-01-21 14:57:32 +01:00
Hannes Janetzek
404df03f25
cleanup: BitmapTileSource
2014-01-21 14:56:33 +01:00