827 Commits

Author SHA1 Message Date
Emux
ae1d4fd5d9 Render theme XSD improvements / fixes, closes #26 2016-06-19 13:14:36 +03:00
Emux
278661e569 XML schema definitions repositioning, closes #25 2016-06-19 11:36:56 +03:00
Emux
958dfb8166 Gradle: remove sources artifact 2016-06-18 20:10:02 +03:00
Emux
e85ec48468 ViewController: moveTo respects Viewport limits, fixes #12 2016-06-17 15:14:07 +03:00
Emux
7a952cdaf9 Viewport: add movement limits public API, closes #11 2016-06-17 15:07:13 +03:00
Emux
c8f74e649e MapEventLayer: complete gestures public API, closes #10 2016-06-17 15:01:22 +03:00
Emux
c238916d89 MapPosition: update also zoomLevel in setByBoundingBox, fixes #9 2016-06-17 14:54:15 +03:00
Emux
35d8d2d57e ItemizedLayer: use getters for accessing the items, closes #6 2016-06-17 12:21:58 +03:00
Emux
92c10edb11 GLState: workaround for canvas resize artifacts on desktop, fixes #5 2016-06-17 11:57:54 +03:00
Emux
ec4fa0ed5f GridRenderer: change tile grid form to z/x/y, closes #4 2016-06-17 11:43:25 +03:00
Emux
7af0be9af7 BuildingLayer: translucent buildings option, closes #3 2016-06-17 11:22:18 +03:00
Emux
0a465abbfe GLUtils: workaround for texture memory leaks on desktop, fixes #2 2016-06-17 11:09:03 +03:00
Hannes Janetzek
b174f65122 added drawing api
add GeomBuilder, needs Jts

drawing_api: squashed

drawing_api: use JtsDrawable baseclass

- add makeCircle for testing

drawing_api: cleanups

drawing_api: refactor

drawing_api: use SpatialIndex

drawing_api: optimization + cleanup

drawing_api: VectorLayer

- use VectorLayer for PathLayer

drawing_api: make style builder more consistent with theme api

drawing_api: wip
2015-06-18 00:17:01 +02:00
Hannes Janetzek
3402308ced Viewport: remove BoundingBox utility function 2015-06-18 00:17:01 +02:00
Hannes Janetzek
1ea26e576e Map: add getBoundingBox 2015-06-18 00:17:01 +02:00
Hannes Janetzek
231d596b69 Box: add utils and check min < max in constructor
sq: Box utils
add Box utils
fixup: Box
2015-06-18 00:17:01 +02:00
Hannes Janetzek
c0ece9dd7d spatialindex
add SpatialIndex clear()

docs: QuadTree

wip: SpatialIndex
2015-06-18 00:17:01 +02:00
Hannes Janetzek
c29c85db41 VectorTileLayer: rename hook function: render->process 2015-06-18 00:17:01 +02:00
Hannes Janetzek
0814a06d42 GeometryBuffer: add simple Constructor
- add makeCircle util
- return this on clear()
2015-06-18 00:17:00 +02:00
Hannes Janetzek
9642c8c5aa extract QueryResult from ITileDataSink 2015-06-18 00:17:00 +02:00
Hannes Janetzek
ff630fdcfa configure viewport extents
ref #156
close #45
2015-06-18 00:14:28 +02:00
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
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
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
d32b13fed4 fix: GLViewport.useScreenCoordinates
- fixes: MapScaleBar not being visible
2014-12-04 00:41:03 +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
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
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
fa62602826 Canvas: pass fill+stroke for drawing text 2014-10-10 19:58:14 +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
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