Commit Graph

6554 Commits

Author SHA1 Message Date
Ł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
tobrun
500080ea64 [android] - fix dialog fragment setup, add regression test 2019-03-06 14:22:43 +01:00
tobrun
be75dc9a48 [android] - clear callbacks as part of OnDestroy not as part of OnDestroyView 2019-03-06 14:18:05 +01:00
m-stephen
383fde6804 Add option to prefetch low-resolution tiles (#14031)
* Add option to prefetch low-resolution tiles
2019-03-06 12:02:31 +08:00
Jason Wray
113179cddd [build, ios] Replace 'nightly' build with snapshot 2019-03-05 12:09:38 -08:00
Langston Smith
7e4824960c [android] Adding builder pattern for LocationComponent activation (#13941)
* initial additions of activation builder

* [android] refactoring LocationComponentActivationOptions based on code review

* [android] initial addition of LocationComponentActivationOptionsTest unit tests

* [android] more refactoring based on code review

* [android] refactoring test app location examples

* [android] espresso test refactor with LocationComponentActivationOptions usage

* [android] locationComponent builder instrumentation test tweaks and log removal

* [android] method and docs refactoring based @lukaspaczos 's review

* [android] locationEngine setting logic refactor

* [android] add null locationEngine to stillStaleAfterResuming test

* added .locationEngine(null) to other tests

* [android] javadocs, method, and test adjustments based on @lukaspaczos review

* [android] test tweaks based on Lukasz review
2019-03-05 11:05:06 -08:00
Julian Rex
b29704cd1f [ios] Mute warnings about OpenGL deprecation. (#14019) 2019-03-05 08:52:14 -05:00
Mikhail Pozdnyakov
be2a4a0189 Skip failing render tests 2019-03-05 14:04:52 +02:00
Jason Wray
05026b704a [build, darwin] Disable Xcode indexing-while-compiling on CI 2019-03-04 15:59:01 -08:00
Thiago Marcos P. Santos
7b7ad9d39b [qt] Also use the base API URL as key for sharing the cache.
Otherwise we will have a URL pointing to different servers and
potentially different data.
2019-03-04 19:33:45 +02:00
Langston Smith
4bc56cc576 [android] added areAllGesturesEnabled() method and test (#14022) 2019-03-04 07:21:06 -08:00
Bruno de Oliveira Abinader
586b22c0df [core] Remove map coordinate setters/getters 2019-03-04 14:45:32 +02:00
Bruno de Oliveira Abinader
ba7427b4ac [core] Transform{State}: s/angle/bearing/ 2019-03-04 14:45:32 +02:00
Bruno de Oliveira Abinader
73ac3c784f [core] Remove map bearing setters/getters 2019-03-04 14:45:32 +02:00
Bruno de Oliveira Abinader
21a39306da [core] Remove map pitch setters/getters 2019-03-04 14:45:32 +02:00
Bruno de Oliveira Abinader
f5f10ec119 [core] Remove map zoom setters/getters 2019-03-04 14:45:32 +02:00
Bruno de Oliveira Abinader
491fce6879 [core] Added Map::pitchBy() 2019-03-04 14:45:32 +02:00
Bruno de Oliveira Abinader
02f2b9c75c [core] Added Map::scaleBy() 2019-03-04 14:45:32 +02:00
Bruno de Oliveira Abinader
362231e2d0 [qt] Cleanup QMapboxGL::coordinateZoomForBounds() 2019-03-04 14:45:32 +02:00