Commit Graph

1633 Commits

Author SHA1 Message Date
Łukasz Paczos
2ee342448b [android] expose LOCATION_SOURCE constant 2019-04-09 12:26:40 +02:00
Łukasz Paczos
f20b6e0048 [android] expose LocationComponentConstants class 2019-04-09 12:26:40 +02:00
Łukasz Paczos
f22c014b91 [android] check for Mapbox#INSTANCE when initializing the MapView 2019-04-09 10:52:24 +02:00
tobrun
744ce2c026 [android] - allow resetting a custom OkHttp client to the default implementation 2019-04-08 15:13:33 +02:00
Alexander Eggers
ca60095071 Added getter for the field isComponentInitialized
This change is meanly because of https://github.com/mapbox/mapbox-gl-native/pull/14068 which is now throwing an exception when the component is not activated. This getter should help users to identify if the component is not activated yet to prevent usage and therefore exceptions.
2019-04-05 11:47:28 +02:00
Łukasz Paczos
03159b3589 [android] clear previous style loaded listener when setting a new style 2019-04-04 17:14:22 +02:00
Łukasz Paczos
98d3f42e18 [android] add unit tests for #13947 2019-04-04 13:42:14 +02:00
Łukasz Paczos
af74d00b05 [android] add unit tests for #14171 2019-04-04 13:42:14 +02:00
Łukasz Paczos
100c9b7bc1 [android] clean up location permissions annotation 2019-04-03 12:09:13 +02:00
Osana Babayan
b6910407e8 [android] updated PerformanceEvent (#13894) 2019-04-02 12:26:36 -04:00
Łukasz Paczos
463a6b2736 [android] clear camera callbacks' message queue when the map is destroyed 2019-04-02 14:14:47 +02:00
Kevin Li
50e02666f0 Remove support v7 (#14265)
* remove support v7

* update license
2019-04-02 10:07:40 +08:00
Łukasz Paczos
c66ec867c9 [android] reset scale/rotate focal point in each step 2019-04-01 17:38:51 +02:00
Łukasz Paczos
1aa44d5451 [android] do not reset custom location gestures manager if already set 2019-04-01 17:38:51 +02:00
tobrun
3e106c3f56 [android] - LatLng#distanceTo uses TurfMeasurement#distance 2019-04-01 16:11:09 +02:00
Łukasz Paczos
ccf99cfe7e [android] add #toString override for formatted sections 2019-04-01 16:04:29 +02:00
tobrun
6a97768209 [android] - add pixel dimension annotation to public UiSettings methods 2019-04-01 12:58:43 +02:00
Łukasz Paczos
9a792ca304 [android] disable move gesture detector foreseeing the quickzoom 2019-04-01 11:29:52 +02:00
Mikhail Pozdnyakov
9fc42b9c3c [core] auto value for 'text-justify' field 2019-03-29 16:18:41 +02:00
Mikhail Pozdnyakov
2b9a52f5e4 [core] Enable 'text-radial-offset' property 2019-03-29 16:18:41 +02:00
Mikhail Pozdnyakov
a6d8742e63 [core] Enable text-variable-anchor property 2019-03-29 16:18:41 +02:00
tobrun
0ec8945450 [android] - remove NativeMap#update() 2019-03-27 16:30:38 +01:00
tobrun
35e4066ac7 [android] - remove request render from MapboxMap#onStart 2019-03-27 16:30:38 +01:00
tobrun
f07a24dd3d [android] - don't call OnSurfaceCreated from the main thread 2019-03-27 12:08:44 +01:00
Sam Fader
81c48bbca7 quick typo fix for OnDidFinishRenderingMapListener method (#14209) 2019-03-25 09:05:19 -07:00
tobrun
ab5f935b57 [android] - hook GLSurfaceViewMapRenderer into surfaceCreated callback, don't destroy map renderer when surface is destroyed as it can be recreated later 2019-03-22 18:39:29 +01:00
tobrun
2de2b0b068 [android] - bump snapshot version to 7.4.0 2019-03-22 14:03:22 +01:00
Łukasz Paczos
8c87ca2522 [android] changelog for 7.3.0-beta.1 2019-03-20 21:44:13 +01:00
Łukasz Paczos
140eddf868 [android] cache source/layer only when successfully added 2019-03-20 20:46:10 +01:00
Łukasz Paczos
db275e5888 [android] clear the style object when the map is destroyed 2019-03-20 20:46:10 +01:00
tobrun
8b88088316 [android] - add offline troubleshooting link to javadoc of OfflineManager 2019-03-20 19:06:42 +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
Łukasz Paczos
0f947b912b [android] cache location layer IDs in a set instead of a list 2019-03-18 13:25:01 +01:00
Łukasz Paczos
f1ac3f29c3 [android] text-color option for formatted sections 2019-03-15 16:17:59 +01:00
Konstantin Käfer
979433eddb [build] update Boost to 1.69 and remove RTTI 2019-03-13 20:42:30 +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
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
Bruno de Oliveira Abinader
8cc100bfd5 [core] Get FileSource via UpdateParameters in Renderer::Impl 2019-03-13 17:56:44 +02: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
2a4b67f4ae [android] fix quick-zoom + double-tap gestures combo regression 2019-03-12 13:10:19 +01: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
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
tobrun
be75dc9a48 [android] - clear callbacks as part of OnDestroy not as part of OnDestroyView 2019-03-06 14:18:05 +01: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
Langston Smith
4bc56cc576 [android] added areAllGesturesEnabled() method and test (#14022) 2019-03-04 07:21:06 -08:00
Łukasz Paczos
2ce70f7335 [android] verify no native method is called when saving state 2019-03-04 12:33:39 +01:00