Commit Graph

14444 Commits

Author SHA1 Message Date
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
40039f6b43 [android] - reset release configuration 2018-03-01 11:46:04 +01:00
Tobrun
72393707d3 [android] - fix custom layer example 2018-03-01 11:46:04 +01:00
Tobrun
6e48460445 [android] - release android v5.5.0 2018-03-01 11:46:04 +01:00
Tobrun
a8b8c5defa [android] - update changelog for v5.5.0 2018-03-01 11:46:04 +01:00
Osana Babayan
90cce8d9ce [android] incorrect latlngBounds in the VisibleRegion with map is rotated
smallest bounding box for 4 points cannot (#11226)
be created using LatLngBounds.fromLatLngs()
as the order matters in that method and that does not work for rotated map
2018-03-01 11:46:04 +01:00
Ivo van Dongen
4b32228cc2 [android] custom layer example - remove dependencies on mbgl logging and string headers 2018-03-01 11:46:04 +01:00
Ivo van Dongen
7fc676ed41 [android] custom layer example - add error checking to debug issues more easily 2018-03-01 11:46:04 +01:00
Ivo van Dongen
c84670e683 [android] custom layer example - fix fragment shader source for opengl es 2 phones 2018-03-01 11:46:04 +01:00
Ivo van Dongen
eec0db49e4 [core] blacklist vao usage on mali t720 (sapphire 650)
Avoids problems on (amongst others) Samsung Galaxy J3
2018-03-01 11:46:04 +01:00
Ivo van Dongen
b00e92fa94 [core] check opengl error state after custom layer invocations 2018-03-01 11:46:04 +01:00
Tobrun
54c3fcdec8 [android] - check if hosting Activity isn't finishing before showing an dialog 2018-03-01 11:46:04 +01:00
Łukasz Paczos
0fe1219bfd [android] expose ImageSource coordinates setter (#11262) 2018-03-01 11:46:04 +01:00
osana
7623ed99bc [android] jni clean up - missing a couple DeleteLocalRef 2018-03-01 11:46:04 +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
Cameron Mace
20c79d9e71 upgraded telem version (#11338)
* upgraded telem version

* use telem method instead of Okhttp

* use telem util in test
2018-02-28 14:38:26 -05:00
Osana Babayan
f4833a2c4e [android] LatLngBounds.union() should take date line into account 2018-02-28 10:10:09 -05:00
Bruno de Oliveira Abinader
48744d51d8 [test] Update Map.PrefetchTiles 2018-02-28 11:54:37 +02: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
Minh Nguyễn
98470e242d [doc] Updated link to NativeScript plugin
The old URL has become a redirect to the plugin marketplace’s homepage.
2018-02-27 17:17:32 -05:00
Jason Wray
b74930c5fc [ios] Improved heading indicator arrow visibility 2018-02-27 15:46:28 -05: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
Fabian Guerra Soto
6d2cbb0a40 [ios, macos] Fix a memory leak when creating an EAGLContext in MGLMapSnapshotter. (#11193) 2018-02-27 12:04:20 -05:00
Konstantin Käfer
aacd55c64b [core] continue loading style even if we mutate it
When we load a stale style from cache, and the user immediately starts mutating it, we should continue loading the style so that we'll get a fresh copy of the data into our cache and avoid perpetually showing the stale style.
2018-02-27 17:22:54 +01:00
Chris Loer
ca17625f1c [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-27 17:22:54 +01:00
Łukasz Paczos
7905bd6831 [android ] - new gestures library (#11221)
* [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
2018-02-27 15:51:22 +01:00
Bruno de Oliveira Abinader
380f5dc88b [qt] Rename Qt SDK to 'Mapbox Maps SDK for Qt' 2018-02-27 16:28:55 +02:00
Bruno de Oliveira Abinader
df92af27d9 [core] Add space in OfflineDatabase::updateMetadata SQL query 2018-02-27 16:28:36 +02:00