1959 Commits

Author SHA1 Message Date
Hannes Janetzek
d492358a94 sync viewport 2015-06-18 00:13:43 +02:00
Hannes Janetzek
6f85e24ed9 Viewport screen-pivot + extent option 2015-06-18 00:13:38 +02:00
Hannes Janetzek
da93f0ab72 GdxMapApp: reduce default fps 2015-06-18 00:09:27 +02:00
Hannes Janetzek
b1cfdfd454 android: remove MapActivity
- see vtm-android-start for an example use of MapView
- add MapPreferences

- update android-start
- android-example: use appcompat actionbar
2015-06-18 00:09:27 +02:00
Hannes Janetzek
0c5a7e7aa6 android: refactor MapView
- merge AndroidMap + GLView into Mapview
- let MapView directly extends GLSurfaceView
2015-06-18 00:09:27 +02:00
Hannes Janetzek
e1c1a20074 ViewController: clamp tilt in setPosition 2015-06-18 00:09:27 +02:00
Hannes Janetzek
dfc1aeb98f Animator: animation end event 2015-06-18 00:09:27 +02:00
Hannes Janetzek
8626aa2f53 api: no more sync'ed Viewport methods
- remove synchronized viewport methods: viewport MUST only be changed on main-thread
- when calling Map.setPosition() from another thread the position will be applied
  on the next main-loop iteration
2015-06-18 00:09:27 +02:00
Hannes Janetzek
381907526e fix: use same precision in vertex and fragment shaders
should fix #153
2015-06-18 00:07:20 +02:00
Hannes Janetzek
d8fb724d61 Update README.md
drop somewhat generic library name
2015-06-01 19:38:02 +02:00
Hannes Janetzek
de7c203926 use highp for all vertex shaders 2015-04-22 09:11:28 +02:00
Hannes Janetzek
c3cf288548 disable use of glBufferSubData for all adreno 3xx
- should fix the issue reported for galaxy 4 mini
2015-04-22 06:37:28 +02:00
Hannes Janetzek
1bb112e685 fix: line shader must have highp 2015-04-22 06:33:06 +02:00
Hannes Janetzek
00ceb9f359 fix overflow: use int offsets in TextureItem
should fix #144

- using quad-indices the offsets are not limited to max vertex ids
2015-03-19 14:16:56 +01:00
Hannes Janetzek
35c22e68dc update gradle, fix #142 jeo dependencies
- featuring: travis makin trouble
2015-03-19 14:16:35 +01:00
Hannes Janetzek
ecc26caec0 example: add MapScaleBar 2014-12-04 00:43:53 +01:00
Hannes Janetzek
d32b13fed4 fix: GLViewport.useScreenCoordinates
- fixes: MapScaleBar not being visible
2014-12-04 00:41:03 +01:00
Hannes Janetzek
711ca7f6d9 gradle: more fun 2014-11-20 01:01:27 +01:00
Hannes Janetzek
aaec15a66a gradle: fix vtm-android install + generate source jars 2014-11-20 00:27:48 +01:00
Hannes Janetzek
77f383913d fix: lost labels 2014-11-20 00:26:42 +01:00
Hannes Janetzek
e6d42a5a61 gradle: warn when submodules are missing
- sth better than 'Configuration with name 'default' not found'
2014-11-17 19:00:28 +01:00
Hannes Janetzek
ef391a3994 gradle: update android tooling 2014-11-17 18:51:22 +01:00
Hannes Janetzek
6c98e600bc example: add building layer to mapforge example 2014-11-12 06:40:13 +01:00
Hannes Janetzek
1d5fa4b9db mapsforge: remove duplicate points 2014-11-12 06:38:58 +01:00
Hannes Janetzek
a492aaa733 GeometryBuffer: add simplify() method 2014-11-12 06:38:29 +01:00
Hannes Janetzek
424126216c fix: Viewport.getDepth() for y == 0 2014-11-12 05:39:01 +01:00
Hannes Janetzek
c3ac8a412c PolygonBucket: dont test bbox visibility with overzoom > 2
- workaround: seems there can be some overflow in GLMatrix.prj2d()
2014-11-12 05:38:36 +01:00
Hannes Janetzek
3178787954 mapsforge: refactor MapDatabase
Conflicts:
	vtm/src/org/oscim/tiling/source/mapfile/MapDatabase.java
2014-11-12 05:38:36 +01:00
Hannes Janetzek
4fdae2a94c mapsforge: also need to clip lines to avoid overflow 2014-11-12 05:38:36 +01:00
Hannes Janetzek
68fe1f8b8a mapsforge: estimate whether a closed way is line or polygon
- refactor projection
- cleanups
2014-11-04 19:02:43 +01:00
Hannes Janetzek
ef34ba9766 fix: dont limit tile overzoom 2014-11-04 19:01:42 +01:00
Hannes Janetzek
bf2909585b gradle: update GWT 2014-11-03 01:36:24 +01:00
Hannes Janetzek
a85b435fb6 remove zoomMin/zoomMax from TileManager constructor 2014-11-03 01:36:03 +01:00
Hannes Janetzek
4c78f8652b fix: UrlTileSource.Builder was hiding zoom values from TileSource.Builder
- values set thorugh builder.minZoom()/maxZoom() were ignored

should fix: #120
2014-11-03 01:32:56 +01:00
Hannes Janetzek
f4ffac44d2 gradle: update to 2.1 and android targetSdk 21
- add android-appcompat subproject
2014-10-24 21:38:47 +02:00
Hannes Janetzek
0bc45dfd74 fix: polygon texture default fill 2014-10-13 23:36:34 +02:00
Hannes Janetzek
df909daccb theme: tweaks 2014-10-10 20:33:18 +02:00
Hannes Janetzek
fa62602826 Canvas: pass fill+stroke for drawing text 2014-10-10 19:58:14 +02:00
Hannes Janetzek
a8641ce535 playground: mapzen style map 2014-10-10 18:07:43 +02:00
Hannes Janetzek
bbe6067569 fix: show tiles at the highest scale
need to investigate the real cause..
2014-10-10 17:31:48 +02:00
Hannes Janetzek
f7b539f5c7 updated default theme:
- use textures for slight roughness of 'natural' features
- increase font size
2014-10-10 17:31:48 +02:00
Hannes Janetzek
78d438dfe6 pass fx option with S3DBLayer constructor 2014-10-10 17:31:48 +02:00
Hannes Janetzek
a098e669c3 ExtrusionLayer: animate when loaded 2014-10-10 17:31:48 +02:00
Hannes Janetzek
3f3dca30d7 add Color.isOpaque util 2014-10-10 17:31:47 +02:00
Hannes Janetzek
7b9301d479 PolygonBucket: enable fade and tinting of textured polygons 2014-10-10 17:31:47 +02:00
Hannes Janetzek
01a41d5f87 android-example: reenable cache.. 2014-10-10 17:31:47 +02:00
Hannes Janetzek
0b1fba58bb fix: AreaStyle blend 2014-10-10 17:31:47 +02:00
Hannes Janetzek
29f19b36ce wip: StyleBuilder 2014-10-10 17:31:47 +02:00
Hannes Janetzek
1ded32d303 fixup: area fade 2014-10-10 17:31:47 +02:00
Hannes Janetzek
ffe14e11d5 bring vtm-android-gdx back to life 2014-10-10 17:31:47 +02:00