Commit Graph

171 Commits

Author SHA1 Message Date
Chris Loer
78a1c30e80 [android] Minimal Android wrapper on 'format' expression
For converting to Java types, flatten 'text-field' back to a string.
2018-10-24 13:35:36 +02:00
tobrun
3ef5bc604b Revert "[android] - add NonNull to MapboxMap parameter for onMapReady callback, removes necessity to add question mark to all mapboxMap invocations"
This reverts commit a436fd233f.
2018-10-23 13:19:26 +02:00
Chris Loer
fdfb9386a6 [android] Minimal Android support for 'format' expression
- No dedicated support for creating format expressions
- Java accessors for 'text-field' flatten back to String
- 'text-field' setter implicitly creates a 'format' expression. For tests, use JsonArray to build an equivalent format expression by hand.
2018-10-15 13:15:46 -07:00
Tobrun
a436fd233f [android] - add NonNull to MapboxMap parameter for onMapReady callback, removes necessity to add question mark to all mapboxMap invocations 2018-10-12 18:40:29 +02:00
Łukasz Paczos
5bfdd9fb8d [android] - move camera and puck immediately when starting to track and displacement is big 2018-10-03 13:13:17 +02:00
Łukasz Paczos
1c6c7d5238 [android] copy files from assets task util 2018-09-26 13:47:28 +02:00
Łukasz Paczos
4148a5a91a [android] expose offline database merge API 2018-09-26 13:47:28 +02:00
tobrun
d2661fc298 [android] - avoid failing CI tests when device under test doesn't have a valid internet connection 2018-09-25 11:52:11 +02:00
Tobrun
515fcf394f [android] - replace reflection setup with a findViewById, improves stability of the instrumentation tests on cCI 2018-09-24 10:32:50 +02:00
Łukasz Paczos
079ba0209e [android] improved render timeouts in LocationComponent tests 2018-09-12 13:59:11 +02:00
Łukasz Paczos
b2d4b82cdf [android] updated location tracking gestures management tests 2018-09-12 13:59:11 +02:00
Łukasz Paczos
caebcd08e3 [android] LocationComponent - javadoc fixes, improved initialization, removed location save state 2018-09-12 13:59:11 +02:00
Łukasz Paczos
d4a2123bec [android] location saved state tests, default location engine deactivation test 2018-09-12 13:59:11 +02:00
Łukasz Paczos
907612e93d [android] updated naming scheme and packages structure for LocationLayerPlugin, now called LocationComponent 2018-09-12 13:59:11 +02:00
Łukasz Paczos
cf7752c80c [android] save location state 2018-09-12 13:59:11 +02:00
Łukasz Paczos
465316b4ce [android] adapt LocationLayerPlugin's test suite 2018-09-12 13:59:11 +02:00
Łukasz Paczos
5d000d090f [android] merge LocationLayerPlugin to Maps SDK 2018-09-12 13:59:11 +02:00
tobrun
6e171a62a9 [android] - replace platform default implementation using nunicode for uppercasing an lowercasing with an Android specific String.java equivalent 2018-09-11 12:58:56 +02:00
ryanhamley
31cca05fc6 Port symbol-z-order symbol layout style-spec property to Native 2018-09-07 13:05:19 -07:00
tobrun
cb141e89b7 [android] - disable flaky camera tests 2018-09-06 08:13:30 +02:00
tobrun
42aaf3e346 [android] - add get source id to supported layer types 2018-09-04 15:16:18 +02:00
Molly Lloyd
4a5dc37245 [core] Implement CrossFadedDataDrivenProperty to add support for feature expressions in *-pattern properties 2018-08-31 13:08:47 -07:00
tobrun
d297bf10ef [android] - modularise the sdk 2018-08-24 18:40:11 +02: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
Łukasz Paczos
87f73bb0a2 [android] "collator" and "resolved-locale" expressions support 2018-08-22 11:06:59 +02:00
Łukasz Paczos
7e6331b29f [android] - updated GeoJsonSource tests 2018-08-21 11:56:08 +02: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
Łukasz Paczos
63d4ac05f2 [android] shutting down thread pool of the CustomGeometrySource when the source is destroyed 2018-08-10 18:31:52 +02:00
Osana Babayan
f05199e2d9 VisibleRegion on rotated bounds (#12135) (#12255) 2018-07-27 09:31:33 -07:00
John Firebaugh
5793283142 [android] Test token strings for icon-image and text-field 2018-07-20 12:35:00 -07:00
Łukasz Paczos
c29740e73f [android] VisibleRegion instrumentation tests 2018-07-18 15:03:31 +02:00
tobrun
c6e43fa482 [android] - add geojson regression tests for java method look up from JNI 2018-07-13 11:04:18 +02:00
tobrun
bf7792eae0 [android] - fix jni method lookup of GeometryCollection accessor geometries, add regression test 2018-07-09 12:51:34 +02:00
tobrun
32dce870d7 [android] - create device independent tests for camera position testing 2018-07-05 13:30:50 +02:00
tobrun
ec78936e18 [android] - add bearing and pitch to get camera for geometry 2018-07-05 13:30:50 +02:00
tobrun
add9eecd99 [android] - add bearing and tilt to LatLngBounds, incorporate current tilt and bearing transformation in old api 2018-07-05 13:30:50 +02:00
tobrun
9920b25af3 [android] - avoid race condition when calling getMapAsync from OnMapReadyIdlingResource 2018-07-05 11:11:51 +02:00
Molly Lloyd
e1af62e87d [core] add raster-resampling property (#12176)
* update style-code for raster-resampling

* implement user-defined raster-resampling

* invert filter condition

* raster-resampling -> raster-resampling-mode for darwin language conventions
2018-06-21 14:37:17 -07:00
tobrun
aa16b90e2b [android] - move match stops conversion to Stop.toExpressionArray 2018-06-12 18:08:58 +02:00
Tobrun Van Nuland
be66de6fcd [android] - Render tests with PixelMatch 2018-06-01 20:05:56 +02:00
Łukasz Paczos
4d9cd75d2d [android] - allow literal expression property arguments 2018-05-28 17:56:37 +02:00
Tobrun
7aaf492ef2 UI thread checking (#12000)
* [android] - add UI thread checking
2018-05-25 11:46:04 +02:00
Lauren Budorick
62c875e01b [core] Rework spec function/expression taxonomy
Ports https://github.com/mapbox/mapbox-gl-js/pull/6521, updating codegen scripts to parse new expression taxonomy.
2018-05-14 12:38:14 -07:00
Łukasz Paczos
9522674c42 [android] - null check source before removing 2018-05-02 12:24:28 +02:00
Fabian Guerra
e08b6fe87f Merge branch 'release-boba' into master
# Conflicts:
#	circle.yml
#	include/mbgl/style/expression/let.hpp
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/geometry/LatLngBounds.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapGestureDetector.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapKeyListener.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapboxMap.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/Projection.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/Transform.java
#	platform/android/MapboxGLAndroidSDK/src/test/java/com/mapbox/mapboxsdk/geometry/LatLngBoundsTest.java
#	platform/android/MapboxGLAndroidSDKTestApp/src/main/AndroidManifest.xml
#	platform/android/gradle/dependencies.gradle
#	platform/android/src/example_custom_layer.cpp
#	platform/android/src/geojson/point.cpp
#	platform/darwin/src/NSPredicate+MGLAdditions.mm
#	platform/darwin/test/MGLExpressionTests.mm
#	platform/ios/Mapbox-iOS-SDK-nightly-dynamic.podspec
#	platform/ios/Mapbox-iOS-SDK-symbols.podspec
#	platform/ios/Mapbox-iOS-SDK.podspec
#	platform/ios/app/MBXViewController.m
#	src/mbgl/renderer/layers/render_custom_layer.cpp
#	src/mbgl/style/conversion/filter.cpp
#	src/mbgl/style/expression/interpolate.cpp
#	src/mbgl/style/expression/value.cpp
#	test/style/filter.test.cpp
2018-04-23 10:44:02 -04:00
Tobrun
5d8844152d Rework logical condition convenience expressions (#11555)
* [android] - rework expression logical operator api to match actual usage
2018-04-04 12:41:34 +02:00
Tobrun
ce3c42a1c2 [android] - don't load default style if style json string was set (#11520) 2018-03-26 09:40:22 -04:00
Tobrun
f011035017 Expression filters (#11429)
* [android] - add expression filter integration
2018-03-19 15:11:17 +01:00
Tobrun
6179110b6b [android] - add expression conversion, add getters (#11352) 2018-03-08 16:27:02 +01:00