Commit Graph

6572 Commits

Author SHA1 Message Date
tobrun
11cacb3f8c [android] - refactor idling resource from test 2019-03-20 09:16:36 +01:00
Fabian Guerra Soto
174c8fa7e4 [ios, macos] Add text-color support to format expressions. (#14146)
Added the possibility of overriding paint properties inside the format expression.

Added an example of how to create an MGLAttributedExpression object and documented the attributes keys and value types.

Fixed a bug that ignored the font names.
2019-03-19 14:53:35 -07:00
Łukasz Paczos
10e1e63aee [android] update licenses 2019-03-19 20:06:28 +01:00
Łukasz Paczos
eaddcf8bed [android] expose LocationComponent's layer IDs 2019-03-19 18:28:37 +01:00
Łukasz Paczos
10404e29af [android] unit and instrumentation tests code coverage report 2019-03-19 17:59:32 +01:00
Minh Nguyễn
40458177b7 [ios] Deleted unused NSData category 2019-03-18 22:12:43 -07:00
Łukasz Paczos
c2fe532b9b [android] bump telemetry version to 4.3.0 2019-03-18 13:25:26 +01:00
Łukasz Paczos
0f947b912b [android] cache location layer IDs in a set instead of a list 2019-03-18 13:25:01 +01:00
tobrun
ce1a46d645 [android] - remove base idlingResource setup 2019-03-18 12:00:19 +01:00
Fabian Guerra Soto
7939ff213a [ios, macos] Add format expression convenience methods support. (#14094)
Added the ios/macos format expression bindings.

The equivalent is mgl_attributed: or mgl_attributed({}) when making an expression using the expressionForFormat selector.

A new constructor called mgl_expressionForAttributedExpressions:(NSArray<NSExpression*>*)attributedExpressions was added to NSExpression+MGLAdditions category.

Updated the symbol style layer text test to use the bindings.

Updated the Predicates and Expressions.md and For Style Authors.md.ejs template with the bindings.
2019-03-15 16:10:27 -07:00
Łukasz Paczos
f1ac3f29c3 [android] text-color option for formatted sections 2019-03-15 16:17:59 +01:00
Ander Conselvan de Oliveira
5733440747 [core] Group Map LatLngBounds, min and max zoom methods
Group bounds, minimum and maximum zoom related methods together using
the new BoundOptions.

v2: Document that getBounds() initializes all optional fields.
  - Add test for getBounds() on a map with default values.
2019-03-14 18:33:11 +02:00
Ander Conselvan de Oliveira
11de777628 [core] Remove optional from Map::setLatLngBounds()
This is a first step into grouping together bounds related Map methods
into one that takes a "BoundOptions" object. LatLngBounds::unbounded()
replaces an undefined optional<LatLngBounds>.

v2: Document LatLngBounds::unbounded()
2019-03-14 18:33:11 +02:00
tobrun
dba40c64ea [android] - move TextureView to top of list so UiAutomator finds it more quickly 2019-03-14 14:11:22 +01:00
Jordan Kiley
63b55d2847 [ios] Updated podspecs (#14110) 2019-03-13 15:39:19 -07:00
Jordan Kiley
fb0b0d5a2b [ios] Generate iOS code coverage for metrics (#14015) 2019-03-13 12:58:24 -07:00
Konstantin Käfer
979433eddb [build] update Boost to 1.69 and remove RTTI 2019-03-13 20:42:30 +01:00
Łukasz Paczos
0cf1079ca0 [android] changelog for 7.3.0-alpha.2 2019-03-13 19:59:52 +01:00
Łukasz Paczos
b7702995fc [android] when changing the resource path, recreate database instead of the whole FileSource 2019-03-13 18:28:04 +01:00
Łukasz Paczos
3f7b70fdb0 [core] expose an option to change the db file path in runtime 2019-03-13 18:28:04 +01:00
Arne Kaiser
5e58a0d81d [android] Feature: Change path of the resources cache db 2019-03-13 18:28:04 +01:00
Langston Smith
42144ce1dc [android, iOS, macOS] Adding Galician translation from Transifex (#14095)
* [android] adding galician strings

* [ios] adding galician strings

* [ios, macos] Added Galician localization to Xcode projects

* [ios, macos] Converted Galician localization to UTF-8

* [android, ios, macos] Updated changelogs
2019-03-13 09:42:52 -07:00
Langston Smith
44892f0452 [android] Updated Android readme links and writing (#14090) 2019-03-13 09:05:44 -07:00
Bruno de Oliveira Abinader
8cc100bfd5 [core] Get FileSource via UpdateParameters in Renderer::Impl 2019-03-13 17:56:44 +02:00
Ander Conselvan de Oliveira
7d19115720 [core] Don't use exceptions in MapObserver::onDidFailLoadingMap
Using different exception pointers to specify the loading failure makes
an awkward API. Most users rethrow the exception only to figure out what
type of error happened so it can be reported properly. So replace the
exception pointer with a enum an string description of the failure.
2019-03-13 11:58:27 +02:00
Jason Wray
565792606d [ios, build] Remove unnecessary clean step from release packaging 2019-03-12 16:19:32 -07:00
Bruno de Oliveira Abinader
096dea16e3 [node] Change Map/FileSource relationship to composition 2019-03-12 23:52:40 +02:00
Jason Wray
fb1b601038 [darwin] Fix MGLMapView.direction wrapping
Re-adds the 0-to-360° wrapping for MGLMapView.direction. Without this wrapping, we’d get ±180° from core, which results in invalid CLLocationDirection for the negative half of the rotational spectrum.
2019-03-12 14:49:49 -07:00
Łukasz Paczos
103f86c4bc [android] set a blank style when an empty builder is provided 2019-03-12 16:53:19 +01:00
Łukasz Paczos
8ce404e645 [android] explicitly declare MapboxIssueRegistry's lint version 2019-03-12 15:17:22 +01:00
Łukasz Paczos
2a4b67f4ae [android] fix quick-zoom + double-tap gestures combo regression 2019-03-12 13:10:19 +01:00
Lloyd Sheng
60ceac5efc [iOS] Enable developers to change position of ornaments (#13911)
* APIs for change position of ornaments

* Use anchors APIs and emove iOS8 layout code

* Add ornaments layout tests
2019-03-11 23:06:16 +08:00
Łukasz Paczos
5ccc5b7c36 [android] throw an exception if the component is accessed before the activation 2019-03-11 13:30:59 +01:00
Łukasz Paczos
278347548d [android] remove unnecessary JSON style declaration in the gradient line example 2019-03-11 13:28:28 +01:00
Alexander Shalamov
f84019cb89 [core, node] Use es5 syntax for imports in expressions tests
Instead of forcing ES6 module syntax, at this point, it is less
distruptive to fix expression tests to use ES5 import syntax.
2019-03-11 13:43:08 +02:00
Alexander Shalamov
debbd08ff0 Revert "[core] Use ES6 import / export syntax for node test harness"
This reverts commit c6598fc5da.
2019-03-11 13:43:08 +02:00
Thiago Marcos P. Santos
7cdc39bee9 [Qt] Fix race when locking a FileSource
We were returning the FileSource, it could have expired
already. We _need_ to check if the lock() on the weak
pointer worked before returning.
2019-03-08 20:56:45 +02:00
Sudarsana Babu Nagineni
5e2b6bf636 [core] Add MapOptions to define properties of Map
To simplify the Map constructor, introduce MapOptions
interface to define the properties that can be set on
a Map.
2019-03-08 18:20:55 +02:00
Łukasz Paczos
c4115f0539 [android] publish SNAPSHOTs to oss.jfrog.org 2019-03-08 17:04:27 +01:00
Sudarsana Babu Nagineni
744d92e763 [core] consolidate Axonometric rendering API
Instead of having individual APIs for setting axonometric
and skew options, create ProjectionMode struct that holds
all the relevant options for Axonometric rendering and
introduce setter/getter on the Map for those options.
2019-03-08 17:36:40 +02:00
Alexander Shalamov
c6598fc5da [core] Use ES6 import / export syntax for node test harness 2019-03-08 16:53:01 +02:00
Fabian Guerra Soto
79f3307c4b [ios, macos] Fix a bug with multiple format expressions. (#14064)
Fixed a bug where `format` expressions using the generic `MGL_FUNCTION` binding ignored multiple formatting parameters.
2019-03-07 19:28:20 -08:00
Jason Wray
d0ffaa4245 [ios] Reset access token state after running tests 2019-03-07 11:36:04 -08:00
Jason Wray
baaa9ca249 [ios] Enable test run-order randomization 2019-03-07 11:36:04 -08:00
Łukasz Paczos
86e44bf5d6 [android] changelog for 7.3.0-alpha.1 2019-03-07 19:24:11 +01:00
Łukasz Paczos
a0fd38eb29 [android] get vector drawables using AppCompatResources and set vector drawables programmatically 2019-03-07 18:47:10 +01:00
Łukasz Paczos
d1109257dc [android] build correct POM when publishing to maven 2019-03-07 18:46:51 +01:00
Langston Smith
13a6f4c3db [android] initial additions for bintray plugin setup 2019-03-07 18:46:51 +01:00
Jordan Kiley
fa4fa5d9fe [ios] Release ios-v4.10.0-alpha.1 (#14056) 2019-03-06 16:28:13 -08:00
Mikhail Pozdnyakov
06a8ecdb17 Update mapbox-gl-js submodule to v0.53.0 2019-03-06 18:00:19 +02:00