Commit Graph

1108 Commits

Author SHA1 Message Date
Gustl22
1d8cdd7feb GeometryUtils: add vector utils (#467)
+ calc bisections
+ sum, diff
+ distance
+ dot product
+ intersections (line and plane)
+ normalizations
+ normal of plane
+ scale
2018-01-04 14:56:54 +02:00
Gustl22
baa924c697 Tessellator: support GeometryBuffer (#466) 2018-01-04 14:51:49 +02:00
Emux
a67b2f2c91 Gradle 4 / Android plugin 3 transitive dependencies, fix #433 2018-01-02 14:46:39 +02:00
Izumi Kawashima
abac84e82a Add building z-limit function to shader and web ui (#462) 2017-12-26 13:59:42 +02:00
ale5000
9977061680 LwHttp: fixed line break of HTTP headers (#461), fix #460 2017-12-26 11:08:15 +02:00
Gustl22
97cdfa119d Improve ExtrusionBuckets (#459)
+ Add method addPolyElement and addMeshElement
+ renamed setBuckets to resetBuckets
+ Add method getGroundScale to MapTile
2017-12-19 20:59:10 +02:00
Gustl22
bddf2443b6 Refactor ExtrusionBucket
+ color and colors as private
+ renamed add(for meshes) to addMesh
+ renamed add(for polygons) to addPoly
2017-12-19 11:30:35 +01:00
Emux
1404d21838 BuildingLayer: make POST_AA public 2017-12-19 11:42:37 +02:00
Gustl22
95bbc5ea3e BuildingLayer: allow mesh in renderer, minor refactor (#457) 2017-12-19 11:41:43 +02:00
Emux
f8776ffe5f Merge pull request #456 from Gustl22/tags
Add needed osm-tags (S3DB)
2017-12-19 10:33:11 +02:00
Gustl22
bc1dee49a4 Fix double cloning issue of MapElement, use copy-constructor in GeometryBuffer and MapElement (#455) 2017-12-19 10:17:29 +02:00
Gustl22
d81a6309bf Add needed osm-tags (S3DB) 2017-12-19 08:57:56 +01:00
Gustl22
e3b137e3c4 GeometryBuffer: (#453)
+ renamed buffer positions
+ update docs
+ expand toString for meshes/tris
2017-12-04 21:17:30 +02:00
Gustl22
ba68b79e86 Refactor S3DB layer (#452) 2017-12-04 15:08:19 +02:00
Gustl22
535482025e MapElement: enhance clone (not copy complete buffer) (#451) 2017-12-03 15:28:27 +02:00
Andrey Novikov
bc20664bc5 Do not read theme twice if format is predefined 2017-11-27 10:22:48 +03:00
Emux
8ad2036ec1 GeoPointUtils: calculate scale to display a BoundingBox #396 2017-11-20 10:48:16 +02:00
Gustl22
8f4e9967f0 Buildings: handle references with id (OpenStreetMap, Mapzen) (#448) 2017-11-18 17:53:42 +02:00
lucaosten
490b932eab Code improvements (#446)
+ reduced memory usage of RenderBucket by making "type" byte instead of int
+ improved code readability in TextItem by renaming variable
+ added latitude/longitude validation methods to GeoPointUtils
+ solved Java double precision problem in GeoPoint
+ made GeoPoint Serializable for easier Android usage
+ made BoundingBox.toString() human readable for better debugging
2017-11-18 11:54:26 +02:00
Gustl22
149353119b Add OSM and S3DB tags (#447) 2017-11-17 20:00:51 +02:00
Emux
9c3f3b8a4c BitmapTileLayer: fix default bitmap alpha #444 2017-11-15 22:08:44 +02:00
Andrey Novikov
f9e06c80ad BitmapTileLayer: fade steps enhancements, support for permanent transparency (#444) 2017-11-14 16:51:56 +02:00
Gustl22
fe2c067272 TagSet: numTags and tag array as private (#439) 2017-11-13 12:24:54 +02:00
Longri
df784f6f68 Fix POT textures in render themes (#443) 2017-11-12 12:00:06 +02:00
lucaosten
f94c665b27 fixed thread safety problem in Viewport (#438)
recycled variables were accessed non synchronized (and therefore non
thread safe) causing errors once multiple threads were used interacting
with the Viewport
2017-11-03 20:04:09 +02:00
Emux
cbdeb58c2f Gradle 4 and Android plugin 3, fix #433 2017-10-29 18:52:55 +02:00
Andrey Novikov
df5bcd583f Enable style categories (#430) 2017-10-24 13:20:18 +03:00
Emux
e2a4ad8a97 Marker clustering: allow custom cluster renderer #312 2017-10-21 19:35:07 +03:00
Emux
a9a042ea41 Mapsforge maps v5 support improvements #429 2017-10-17 13:15:30 +03:00
Gustl22
cd5a62a2ff Mapsforge maps v5 support (#429) 2017-10-17 11:00:45 +03:00
Emux
b3f6899b1f Mapsforge themes: fix default position tag #100 2017-10-12 10:31:01 +03:00
Emux
e3f2f19119 PathLayer, VectorLayer (polygon) overlays touch events #316 #424 (#425) 2017-10-05 20:39:30 +03:00
Emux
9104b746ac ItemizedLayer: use scaling in touch calculations 2017-10-05 15:41:53 +03:00
Emux
a06ea5492e Two finger tap zoom out gesture, fix #423 2017-10-04 15:43:01 +03:00
Emux
1d7ece5a65 Render themes: "base-stroke-width", fix #422 2017-10-03 19:42:16 +03:00
Gustl22
fa658bd1f0 Support of extrusions in BuildingLayer on Mapzen maps (#419)
+ Tag add "levels"
+ BuildingLayer: support extrusions with height and levels, string unit in meters
+ Support height for Mapzen building_parts
+ Support of building parts in default theme and mapzen
2017-10-03 13:30:23 +03:00
Emux
233f0c4f7e Allow custom tile size instead of the calculated one 2017-09-29 19:37:39 +03:00
Emux
60aa9600d8 Render themes: rule types order, fix #418 2017-09-28 14:47:34 +03:00
Emux
3d92807d26 Render themes: Cap modes, fix #417 2017-09-28 13:00:10 +03:00
Emux
67195bbc0c Mapsforge themes: use tessellation, fix #415 2017-09-27 15:40:29 +03:00
Emux
7ba5984e5f Render themes: store theme origin, fix #414 2017-09-27 15:37:00 +03:00
Andrey Novikov
4a848cc08c Do not catch graphics exception too early (#413) 2017-09-27 14:39:15 +03:00
Emux
75c2841a13 Mapsforge themes 3D buildings, fix #411 2017-09-27 13:18:30 +03:00
Emux
d80e4fdabc Render themes: stroke dash array supports odd entries number #131 2017-09-26 21:35:05 +03:00
Emux
c8817f80c8 Render themes: line symbol improvements #124 2017-09-26 20:58:24 +03:00
Emux
3ee1034f1a Render themes: stroke dash array improvements #131 2017-09-26 20:57:17 +03:00
Emux
3b224d21fc Extrusions default height, fix #409 2017-09-26 19:13:58 +03:00
Emux
0d7d75ccb5 Mapsforge themes: convert "priority" to VTM, fix #408 2017-09-25 15:02:45 +03:00
Emux
324a1c309c Mapsforge themes don't support (-) 'exclusive negation', fix #407 2017-09-24 12:41:53 +03:00
Emux
0046f5c159 Render themes: line symbol, fix #124 2017-09-23 21:03:05 +03:00