Commit Graph

16768 Commits

Author SHA1 Message Date
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
Konstantin Käfer
dfeb5b25d3 [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-23 16:55:22 +01:00
Konstantin Käfer
5de373fff0 [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-23 11:29:15 +01:00
Ivo van Dongen
7b38ae3cc1 [android] custom layer example - remove dependencies on mbgl logging and string headers 2018-02-23 12:03:53 +02:00
Ivo van Dongen
9a3eb808cf [android] custom layer example - add error checking to debug issues more easily 2018-02-23 12:03:53 +02:00
Ivo van Dongen
5fc3d4ab1e [android] custom layer example - fix fragment shader source for opengl es 2 phones 2018-02-23 12:03:53 +02:00
Ivo van Dongen
6eedccf35f [core] blacklist vao usage on mali t720 (sapphire 650)
Avoids problems on (amongst others) Samsung Galaxy J3
2018-02-23 12:03:53 +02:00
Ivo van Dongen
86c824ce80 [core] check opengl error state after custom layer invocations 2018-02-23 12:03:53 +02:00
Chris Loer
b79a1cc82e [core] Don't reuse heatmap render texture on viewport resize.
Fixes issue #11228.
2018-02-22 09:10:13 -08:00
Tobrun
dfb9b26e67 [android] - port animated markers activity to symbol layer 2018-02-22 16:42:33 +01: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
Łukasz Paczos
fcf5fa6bbb [android] expose ImageSource coordinates setter (#11262) 2018-02-22 10:01:48 +01:00
Anand Thakker
b16893f903 Correctly parse constant expressions in dds style properties (#11282)
* Correctly parse constant expressions in dds style properties

Closes #10849

* Clarify
2018-02-21 21:39:33 -05:00
Ansis Brammanis
ebb72b9002 [core] don't hide icons if text is an empty string 2018-02-21 14:38:30 -05:00