Łukasz Paczos
dfdfbc0990
[android] calculating camera's LatLng for bounds without map padding ( #11410 )
2018-03-08 15:55:47 +01:00
Tobrun
ea525fd08a
[android] - check for null body on http request, cleanup code
2018-03-08 15:51:07 +01:00
Minh Nguyễn
91de48356e
[macos] Upgraded tests to Swift 4
2018-03-07 17:31:01 -08:00
Minh Nguyễn
9f708d80f4
[macos] Fixed title casing based on current orthography
2018-03-07 17:31:01 -08:00
Minh Nguyễn
6c0599b536
[macos] Assume sRGB for mbgl expressions, CSS in attribution
...
Assume mbgl needs colors in the sRGB color space rather than the calibrated RGB color space. Fixed link colors when creating attribution from HTML.
2018-03-07 17:31:01 -08:00
Łukasz Paczos
12664cd4c4
Expose more gestures settings ( #11407 )
...
* [android] enable/disable velocity animations
* [android] exposed a method to cancel ongoing velocity animations
* [android] removed unused methods and constants
* [android] fixed gestures manager initialization
* [android] enable/disable increasing gesture thresholds
* [android] saving/restoring new gestures options
2018-03-07 15:56:22 +01:00
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
John Firebaugh
87f88f37c4
Update mapbox-gl-js
2018-03-01 17:02:26 -08:00
John Firebaugh
54f3dc961e
Relax type checking for "length"
2018-03-01 17:02:26 -08:00
John Firebaugh
15ba70b5ff
Infer type assertions for object
...
Cross-ports https://github.com/mapbox/mapbox-gl-js/pull/6243 .
2018-03-01 17:02:26 -08: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
Ivo van Dongen
1f73c9999e
[core] blacklist vao usage on mali t720 (sapphire 650)
...
Avoids problems on (amongst others) Samsung Galaxy J3
2018-03-01 12:21:32 +01:00
Ivo van Dongen
fdd9890461
[core] check opengl error state after custom layer invocations
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
Chris Loer
317794746e
[core,node] Pin 'nan' to ~2.8 to avoid Callback::Call deprecation.
...
Alternative fix to #11288 , until we figure out a proper async_hooks implementation.
2018-02-26 14:53:26 -08: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