Commit Graph

2197 Commits

Author SHA1 Message Date
Molly Lloyd
4a5dc37245 [core] Implement CrossFadedDataDrivenProperty to add support for feature expressions in *-pattern properties 2018-08-31 13:08:47 -07:00
John Firebaugh
0dac3bc60c [android] Explicitly delete local JNI references
This method seems to be called in a loop, leading to a local reference table overflow if not explicitly deleted.

See https://github.com/mapbox/mapbox-gl-native/pull/12716#pullrequestreview-150462731
2018-08-31 09:42:16 -07:00
langsmith
5c8ad4de47 [android] adding more language maps to tx config file 2018-08-31 10:48:19 +02:00
Tobrun
8c58842839 [android] - update changelog for v6.5.0-alpha.2 release 2018-08-29 13:17:49 +02:00
Łukasz Paczos
1127e356e4 [android] keep OfflineGeometryRegionDefinition fields and constructor 2018-08-28 10:09:03 +02:00
Konstantin Käfer
1e454642c8 [build] allow WITH_EGL for macOS as well (SwiftShader) and enable EGL for GLFW 2018-08-27 14:07:40 -07:00
Tobrun
fd1ed8ce48 [android] - update broken test app examples 2018-08-27 11:25:55 +02:00
tobrun
d297bf10ef [android] - modularise the sdk 2018-08-24 18:40:11 +02:00
Łukasz Paczos
0f58d956d7 [android] invalidate InfoWindow's y-offset when content is set 2018-08-24 17:21:21 +02:00
Łukasz Paczos
f9fd9c0f00 [android] synchronize and coalesce requests targeting the same TileID in the CustomGeometrySource 2018-08-23 18:29:55 +02:00
tobrun
fc26f2a6ca [android] - add line-gradient example, integrate lineProgress expression 2018-08-23 19:01:40 +03:00
Mikhail Pozdnyakov
fb5afd34b9 [core] Add line-gradient property
Porting of https://github.com/mapbox/mapbox-gl-js/pull/6303
See the link above for the description of the feature and
its limitations).

Based on patch from @lbud (Lauren Budorick).
2018-08-23 19:01:40 +03:00
Konstantin Käfer
52275f835a [build] add plain text file lists for iOS/macOS 2018-08-23 14:09:48 +02:00
Tobrun
be83bb76b8 [android] - update changelog for release v6.5.0-alpha.1 2018-08-22 18:56:52 +02:00
Tobrun
520df7f020 [android] - replace hardcode telemetry settings string by resources string 2018-08-22 13:37:29 +02:00
Tobrun
1662be7ea5 [android] - update user agent telemetry 2018-08-22 11:23:11 +02:00
Łukasz Paczos
87f73bb0a2 [android] "collator" and "resolved-locale" expressions support 2018-08-22 11:06:59 +02:00
Tobrun
67f6891ea7 [android] - GeoJsonOptions javadoc correction on minZoom level and default values 2018-08-22 10:51:48 +02:00
Chris Loer
fd1767efba [core, test] Bump GL JS pin to bring gl-native back in sync with gl-js.
Requires changing `generate-style-code` to treat 'formatted' as being the same as 'string' until gl-native gets 'formatted' support with https://github.com/mapbox/mapbox-gl-native/pull/12624.
To make nitpick happy, PropertyFunction.java uses the latest "text-field" description from v8.json. It's technically correct, just kind of pointless since the "If a plain `string` is provided" clause will always be true.
2018-08-21 22:02:51 -07:00
langsmith
250eaff9da abbreviation update 2018-08-22 06:30:58 +02:00
langsmith
427a7ba2d3 fixed spacing 2018-08-22 06:30:58 +02:00
langsmith
c5ab61d199 added zh_CN strings.xml file 2018-08-22 06:30:58 +02:00
tobrun
724832ce5d [android] - example to render symbols offline with resources loaded from assets 2018-08-21 18:49:53 +02:00
tobrun
0218c01095 [android] - update map intializer for OfflineRegionDefintion with OfflineGeometryRegionDefinition 2018-08-21 18:49:35 +02:00
John Firebaugh
a842c198ac [android] Inline geometry conversion 2018-08-21 09:26:44 -07:00
John Firebaugh
9587f569f7 [android] Simplify enum conversion 2018-08-21 09:26:44 -07:00
John Firebaugh
1584d8f70a [android] Remove unused 2018-08-21 09:26:44 -07:00
John Firebaugh
2ff1ac3097 [android] Move conversion code to .cpp files 2018-08-21 09:26:44 -07:00
Tobrun
7ce6af3f55 [android] - expose stylejsoon confiugration on MapboxMapOptions and MapView attributes 2018-08-21 17:27:09 +02:00
Łukasz Paczos
7e6331b29f [android] - updated GeoJsonSource tests 2018-08-21 11:56:08 +02:00
Łukasz Paczos
2c093e7f0b [android] - converting GeoJsonSource Java features to core ones on a worker thread 2018-08-21 11:56:08 +02:00
Kiyong Jung
5297f563a4 [android] Make AndroidRendererFrontend to request render once per event loop (#12586)
When AndroidRendererFrontend::update() called multiple times in a single loop, updateAsyncTask->send() will perform nothing, thus MapRenderer::update()/requestRender() will be coalesced.
2018-08-21 11:53:05 +02:00
Ivo van Dongen
4fedcf8d06 [android] arbitrary offline region geometries 2018-08-20 22:49:01 +03:00
Konstantin Käfer
bded6c65d5 [build] use plain text files for file lists to simplify integration with other build systems 2018-08-20 19:11:31 +02:00
Łukasz Paczos
ff077e9ea9 [android] obtain paths to file directories on a worker thread 2018-08-20 16:39:51 +02:00
Konstantin Käfer
112bbc7ab2 [core] make style/conversion.hpp implementation private 2018-08-19 13:09:16 +02:00
Konstantin Käfer
9df9f5fe20 [build] simplify Android build 2018-08-19 13:09:16 +02:00
Tobrun
369e6880db [android] - update changelog with fixed security vulnerability 2018-08-16 10:44:56 +02:00
Łukasz Paczos
fbc39fa42a [android] changelog for v6.4.0
(cherry picked from commit 5aee8d9)
2018-08-16 10:44:56 +02:00
Łukasz Paczos
1771875b12 [android] hide peer constructors 2018-08-15 17:08:55 +02:00
Łukasz Paczos
c2113fdb98 [android] bumped Snapshot version building on master to 6.5.0 2018-08-15 12:13:18 +02:00
Konstantin Käfer
6e06e55b95 WIP: use expected<T, E> for passing on errors 2018-08-14 17:03:46 -07:00
Chris Loer
20f880ebec [core] Fix querying for annotations near tile boundaries at high zoom.
Fixes issue #12472.
This commit doesn't address the underlying issues that come from symbolAnnotationTree using a slightly lower precision coordinate system than the annotations themselves.
Instead, it just puts a small padding around each tile when it queries for tile data, so that symbols right at the tile boundary will be included in both tiles.
The rendering/querying code will take care of only displaying one instance.
The padding is in global coordinates, so at higher zoom the padding will be larger in tile units -- this is consistent with precision loss also being greater at higher zoom.
2018-08-14 12:35:50 -07:00
Langston Smith
60cbedc344 Fix to textureview transparent background testapp activity (#12605)
* removed comma

* removed map style declaration in xml
2018-08-14 07:35:23 -07:00
Chris Loer
41d5768f58 [core] Don't default-show text/icons that depend on the placement of a paired icon/text
Fixes issue #12483.
2018-08-13 14:31:30 -07:00
John Firebaugh
b2f60a4bf2 [core] Eliminate setProperty & co. 2018-08-13 12:39:44 -07:00
Łukasz Paczos
3c8acb228e [android] temporarily disable CustomGeometrySource tests 2018-08-13 18:32:54 +02:00
tobrun
044213dca8 [android] - use uncoverted bearing value for latlngbounds calculation 2018-08-13 16:31:18 +02:00
Langston Smith
fdc287ec36 typo fix (#12593) 2018-08-10 10:00:24 -07:00
Łukasz Paczos
63d4ac05f2 [android] shutting down thread pool of the CustomGeometrySource when the source is destroyed 2018-08-10 18:31:52 +02:00