Commit Graph

17582 Commits

Author SHA1 Message Date
Ł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
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
Chris Loer
7097e04fb3 [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-26 14:23:01 -08:00
Chris Loer
91f6e09dad [core] Don't reuse heatmap render texture on viewport resize.
Fixes issue #11228.
2018-02-26 14:23:01 -08:00
Molly Lloyd
d425ec7237 [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
2018-02-26 14:12:59 -08:00
Chris Loer
80fdae62ca [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 13:47:57 -08:00
Thiago Marcos P. Santos
869799a716 [tests] Added a test for getting resources from the database
This test would have flagged the Qt regression.
2018-02-26 14:43:32 +02:00
Thiago Marcos P. Santos
ba019b0256 [qt] Fix issue if resources not being found on the database
Once again QVariant getting confused about its contents
datatype. With this patch we use QString directly and
copy the contents, which should be cheap with Qt implicity
sharing.
2018-02-26 14:43:32 +02:00
Tobrun
727afc4afc [android] - remove generics from expression api 2018-02-26 13:35:17 +01:00
Thiago Marcos P. Santos
17334c74a0 [core] Fix build with Qt + Android + GCC 4.9
Android uses and old libc when building
with GCC 4.9 and some math functions are not
on std::.
2018-02-26 13:22:33 +02:00
Thiago Marcos P. Santos
c1b17e251a [qt] Fix wrong signal being emitted
Probably caused by a typo when refactoring the asynchronous rendering.
2018-02-26 13:19:11 +02: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