tobrun
990999402c
[android] - revert java8 support in the SDK
2018-03-06 17:51:58 +01:00
Osana Babayan
19d08db2e4
[android] take advantage of MAS 3.0-beta.3 changes
...
fromLngLats() take double arrays are called from Java (not the List<Point> ones)
2018-03-06 09:43:01 -05:00
Tobrun
38fd733c9c
[android] - rework match expression to style specification syntax
2018-03-06 15:03:20 +01:00
Tobrun
1785a98e4f
[android] - make javadoc configuration compatible with Gradle 4.4
2018-03-05 14:55:27 +01:00
Łukasz Paczos
c0bb9aaa81
[android] reworked zoomIn and zoomOut to use ValueAnimators ( #11382 )
2018-03-05 14:23:28 +01:00
Anand Thakker
8ed540ea7b
Port fix for "at" expression off-by-1 error ( #11375 )
...
* Port fix for "at" expression off-by-1 error
Refs https://github.com/mapbox/mapbox-gl-js/pull/6269
* Consistency
* Add ignores for symbol positiong differences in real-world tests
2018-03-02 16:38:46 -05:00
Jason Wray
4919099ea9
[ios] Add MGLMapView.showsScale to control scale bar visibility ( #11335 )
...
- Fixes scale bar not being visible until a camera change event.
- Adds IBInspectable for scale bar visibility.
- Add tests of the scale bar being added to the map view
2018-03-02 13:13:57 -05:00
Tobrun
4408e2f0bc
[android] - delete local ref pixel buffer when converting Image.java to core
2018-03-02 13:50:24 +01:00
Tobrun
4152c3094a
[android] - use float for pixelratio when creating a snapshotter
2018-03-02 13:44:42 +01:00
Tobrun
6ca4949d0f
[android] - validate if width and height aren't 0 when creating options class
2018-03-02 13:44:16 +01:00
Łukasz Paczos
7d8aaa1bf8
Release android v6.0.0-beta.3 ( #11369 )
...
* [android] updated changelog to reflect 6.0.0-beta.3 changes
* [android] release configuration for v6.0.0-beta.3
* [android] reverted release configuration for v6.0.0-beta.3
2018-03-02 13:15:11 +01:00
Łukasz Paczos
899211d816
Remove deprecated location APIs ( #11351 )
2018-03-02 11:01:10 +01:00
Molly Lloyd
d5829d0d00
[android] add support for mapzen terrarium raster-dem encoding ( #11339 )
2018-03-01 11:15:36 -08:00
Osana Babayan
5b4b3c5c1f
[android] rotated map VisibleRegion returns incorrect bounds when going over date line
2018-03-01 12:20:41 -05:00
Tobrun
0082114426
[android] - don't disable zoom button controller zooming whem zooming gestures are disabled
2018-03-01 12:21:32 +01:00
Tobrun
4d439b0043
[android] - decouple map padding from overlain views
2018-03-01 12:21:32 +01:00
Tobrun
0f9990c0c5
[android] - check if hosting Activity isn't finishing before showing an dialog
2018-03-01 12:21:32 +01:00
Ivo van Dongen
627a05475b
[android] custom layer example - remove dependencies on mbgl logging and string headers
2018-03-01 12:21:32 +01:00
Ivo van Dongen
06fa9c6b29
[android] custom layer example - add error checking to debug issues more easily
2018-03-01 12:21:32 +01:00
Ivo van Dongen
c3541cd055
[android] custom layer example - fix fragment shader source for opengl es 2 phones
2018-03-01 12:21:32 +01:00
Łukasz Paczos
636cf4588a
[android] expose ImageSource coordinates setter ( #11262 )
...
(cherry picked from commit fcf5fa6 )
2018-03-01 12:21:32 +01:00
Tobrun
a06ce19369
[android] - add default heatmap color to getter
2018-03-01 11:29:53 +01:00
Tobrun
2e008aa29e
[android] - add heatmap color property
2018-03-01 11:29:53 +01:00
Łukasz Paczos
2187d140df
[android] new gesture library - bumped snaphost version
2018-03-01 10:17:12 +01:00
Chris Loer
936d92a411
[test] Native ignore for GL JS issue #6160
2018-02-28 16:09:09 -08:00
Chris Loer
3d591ae2a2
[test] Native expression test support for:
...
- Round-tripping expressions through serialization and checking that outputs don't change
- Checking expression serialization against expected value from fixture
2018-02-28 16:09:09 -08:00
Chris Loer
75feda12f1
[core] Implement Expression::serialize()
...
Issue #10714
- Each expression stores its operator as a string, and default serialization is [operator, serialize(child1), ...]
- Custom implementations of `serialize` for Expression types that don't follow the pattern
- expression::Value -> mbgl::Value converter
- node_expression bindings to expose `serialize`
2018-02-28 16:09:09 -08:00
Osana Babayan
f4833a2c4e
[android] LatLngBounds.union() should take date line into account
2018-02-28 10:10:09 -05:00
Jason Wray
ab27e24ab0
[ios] Restore iosapp's HUD visibility, adjust placement
2018-02-27 18:27:42 -05:00
Jason Wray
68a9e2ea92
[ios] Provide haptic feedback when user rotates to due north
2018-02-27 18:27:42 -05:00
Chris Loer
66609c9751
[ios] Add "clear tile cache on entering background" to changelog.
2018-02-27 18:27:16 -05:00
Molly Lloyd
2dddcba3fc
[ios, macos] cherry-pick darwin changes to tileset encoding param onto boba ( #11324 )
...
* [ios, macos] add tileset encoding option to darwin sources (#11274 )
* add tileset encoding option to darwin sources
* correct style guide
* link out to dem encoding docs
* markdownify comments
* correct changelog
2018-02-27 15:12:25 -08:00
Łukasz Paczos
848d7dff4e
[android ] - new gestures library (cp #11221 ) ( #11332 )
...
* [android] new gesture library - added SNAPSHOT dependency
* [android] new gesture library - cleaned up redundant classes
* [android] new gesture library - limiting scale when rotating
* [android] new gesture library - shove gesture filtering
* [android] new gesture library - increase rotation threshold when scaling
* [android] new gesture library - minimum angular velocity
* [android] new gesture library - exposed gestures execution listeners
* [android] new gesture library - notifying new listeners tests
* [android] new gesture library - removed tracking setting
* [android] new gesture library - resetting focal point with every scale/rotate callback
* [android] new gesture library - fixed camera change dispatcher callbacks
* [android] new gesture library - cancel velocity animations in maps onStop()
* [android] new gesture library - extracted telemetry pushes to a method
* [android] new gesture library - deprecated onScrollListener
* [android] new gesture library - unified shove listener name
(cherry picked from commit 7905bd6 )
2018-02-27 18:35:05 +01:00
Osana Babayan
43a7db0b0b
[android] LatLngBounds: latNorth should be greater or equal than latSouth
2018-02-27 18:27:22 +01:00
Osana Babayan
977e9f118c
[android] LatLngBounds can go over the antimeridian / date line.
2018-02-27 18:18:05 +01:00
Tobrun
727afc4afc
[android] - remove generics from expression api
2018-02-26 13:35:17 +01:00
Jordan Kiley
db0f6377fc
Fixed DDS polygon example ( #11286 )
...
* [ios] Updated expression
* [ios] Removed centering code
2018-02-23 22:19:51 -08:00
Chris Loer
8e1fc8ff38
[core, node] Hold on to map handle during NodeMap::request.
...
Avoids a potential crash if garbage collection happens in the middle of a call to NodeMap::request from a map that's eligible for GC.
Fixes issue #11281
2018-02-23 18:05:13 -08:00
Tobrun
278cd580fc
[android] - fix javadoc utf8 encoding issues, add missing package-info.java items
2018-02-22 14:29:51 +01:00
osana
1862760faf
[android] jni clean up - missing a couple DeleteLocalRef
2018-02-22 10:15:06 +01:00
Minh Nguyễn
0525fd1e4a
[ios, macos] Unwrap coordinate bounds
...
Updated coordinate bounds conversion methods to use the beyond-±180 method to indicate that the bounds extends beyond the antimeridian. Also copyedited conversion documentation.
2018-02-21 10:05:30 -08:00
Julian Rex
25629c81a6
[ios] Podspec bump 4.0.0-beta.2 ( #11263 )
...
* [ios] Podspec bump 4.0.0-beta.2
* [ios] Improved change log messaging.
2018-02-20 15:46:35 -05:00
Jason Wray
c2be33fa41
[ios] Bump podspecs for 3.7.5
2018-02-20 14:23:42 -05:00
Jason Wray
00abd2eaa6
[ios] Fix loop when first asking for location permission ( #11229 )
2018-02-20 14:23:42 -05:00
Jason Wray
91cd7f5aa9
[ios] Disable -[MGLExpressionTests testConditionalExpressionObject] on iOS 8
...
Temporarily disable this test until iOS 8 compatibility is added.
2018-02-20 14:23:42 -05:00
Jason Wray
b981713f3a
[ios] Bump testMGLMapSnapshotter timeout to 5s
...
Timing based tests are inherently flakey and prone to failure on slow CI:
> Test case 'MGLDocumentationExampleTests.testMGLMapSnapshotter()' failed on 'iPhone X' (3.375 seconds)
> Test case 'MGLDocumentationExampleTests.testMGLMapSnapshotter()' failed on 'iPhone 8' (3.413 seconds)
> Test case 'MGLDocumentationExampleTests.testMGLMapSnapshotter()' failed on 'iPhone 7' (2.944 seconds)
2018-02-20 14:23:42 -05:00
Jason Wray
7e51e52f0c
[ios] Fix iOS 8's broken pluralization in MGLCoordinateFormatterTests
2018-02-20 14:23:42 -05:00
Jason Wray
aa6e063929
[ios] Fix type conversion warnings in MGLFeatureTests
...
Fixes: object of type 'MGLPointAnnotation/MGLPolyline *' is not compatible with array element type 'MGLShape<MGLFeature> *' [-Wobjc-literal-conversion]
2018-02-20 14:23:42 -05:00
Jason Wray
f6d652dddd
[ios] Fix safeAreaInsets availability warning in MGLMapViewLayoutTests
...
Fixes: 'safeAreaInsets' is only available on iOS 11.0 or newer [-Wunguarded-availability-new]
2018-02-20 14:23:42 -05:00
Tobrun
d9e4c61923
[android] - remove camera api from MapboxMap, refactor test app code to CameraUpdateFactory api
2018-02-20 16:22:09 +01:00