Commit Graph

151 Commits

Author SHA1 Message Date
Łukasz Paczos
bc74a8ee0b [android] break location camera tracking when a developer invoked animation starts 2019-05-24 10:11:18 +02:00
tobrun
3f48f27363 [android] - ignore telemtry schema size test for map load 2019-05-16 19:31:56 +02:00
Tobrun
947bc75f56 [android] - remove internal gesture event handling code, deprecate public gesture event hooks 2019-05-10 12:12:52 +02:00
Łukasz Paczos
9fb41a74bc [android] normalize previous rotation values of the location animator 2019-05-10 10:09:27 +02:00
tobrun
b1c1471713 [android] - remove skuId from schema test 2019-05-10 06:57:00 +02:00
Łukasz Paczos
6fa1d357b3 [android] option to provide custom values for location camera transition 2019-05-09 19:43:49 +02:00
Kevin Li
386b013c5e [Android]Expand schema test, modify performance event (#14535)
* expand schema test, modify performance event

* enclose java doc

* revert int to long
2019-05-02 16:55:20 +08:00
Łukasz Paczos
50483cafa6 [android] clear up LocationComponent's z-index positioning docs and add "layer-above" option 2019-04-24 14:24:23 +02:00
Antonio Zugaldia
d0a1526a94 [android] Introduce AccountsManager to support SKU tokens in API requests (#14404) 2019-04-18 16:29:20 -04:00
kevin
8bbd38093c add schema test 2019-04-18 16:00:12 +02:00
kevin
ef5b00b810 Add hashcode(), equals() and toString() methods to Events class. 2019-04-18 16:00:12 +02:00
kevin
2b576d24f0 Polish codes and add test cases 2019-04-18 16:00:12 +02:00
tobrun
278d856372 [android] - program against NativeMap interface 2019-04-16 15:16:07 +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
Łukasz Paczos
03159b3589 [android] clear previous style loaded listener when setting a new style 2019-04-04 17:14:22 +02:00
Łukasz Paczos
af74d00b05 [android] add unit tests for #14171 2019-04-04 13:42:14 +02:00
Łukasz Paczos
463a6b2736 [android] clear camera callbacks' message queue when the map is destroyed 2019-04-02 14:14:47 +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
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
Łukasz Paczos
103f86c4bc [android] set a blank style when an empty builder is provided 2019-03-12 16:53:19 +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
Łukasz Paczos
638b91afc4 [android] add plural style builder methods 2019-03-04 12:33:14 +01:00
Łukasz Paczos
5e41fd44f2 [android] clear singleton instance of Mapbox after running unit test suite 2019-02-26 15:06:21 +01:00
tobrun
ca4648964a [android] - update codebase for Roboelectric v4.x 2019-02-13 11:29:49 +02:00
Tobrun
47fa19444e [android] - add experimental pointer (#13889) 2019-02-07 15:22:36 +01:00
Langston Smith
a2b49e9d22 [android] Adding new variation of LocationComponent#activateLocationComponent (#13829)
* [android] added new activateLocationComponent method

* [android] added new test for the new way to activate the LocationComponent

* [android] tweak to test after lukasz review

* [android] adding tests to assert LocationEngine status
2019-01-31 07:20:25 -08:00
Łukasz Paczos
d8bd594687 [android] LocationComponent max fps javadoc 2019-01-30 16:13:23 +01:00
Łukasz Paczos
f897f128e6 [android] LocationComponent animator throttling tests and examples 2019-01-30 16:13:23 +01:00
Tobrun
50018b7574 Add image support with drawable overload (#13793)
* [android] - add addImage support that takes a Drawable as parameter
2019-01-28 15:06:54 +01:00
Łukasz Paczos
be94efa402 [android] separate quick zoom gestures option 2019-01-25 15:07:22 +01:00
Tobrun
c356675349 [android] - update mock definition of LocationLayerControllerTest, update mockito 2019-01-21 10:06:58 +01:00
Antonio Zugaldia
d5659aa664 [core,ios,android] Update feedback URL in code and tests (#13710)
* [core,ios] rename all occurrence of www.mapbox.com/map-feedback to apps.mapbox.com/feedback

* [ios,android] rename all occurrence of www.mapbox.com/feedback to apps.mapbox.com/feedback
2019-01-17 17:00:56 -08:00
Łukasz Paczos
dd3027c9b8 [android] re-apply location component's "layer-below" when changed 2019-01-17 14:36:52 +01:00
Łukasz Paczos
8974b7c815 [android] do not invoke #onCancel when animation is scheduled from #onFinish block 2019-01-16 11:42:24 +01:00
tobrun
5977d7b86a [android] - show snapshot attribution 2019-01-15 16:06:12 +01:00
tobrun
e6e07a6809 [android] - optimise interface definition 2019-01-15 13:33:28 +01:00
Łukasz Paczos
f3971bd6e7 [android] cancel camera transitions only when set CameraMode is not None 2019-01-04 11:19:30 +01:00
Łukasz Paczos
9064c8e4a1 [android] option to disable smooth animation of compass and accuracy values 2018-12-14 10:26:24 +01:00
Łukasz Paczos
e86d1b2ac9 [android] immediate location animation based on map's projection 2018-12-13 19:40:24 +01:00
tobrun
b1ae6c9051 [android] - move MapboxMapTest to java unit test 2018-12-13 19:08:43 +01:00
Łukasz Paczos
1d410c94fc [android] register compass sensor listener only if provided data is consumed by the location layer or location camera 2018-12-13 17:44:54 +01:00
Osana Babayan
6aea5b561a [android] LatLng bounds cannot be wrapped (#13419) 2018-12-12 15:06:12 +01:00
Łukasz Paczos
d592889e86 [android] CameraMode transition animation and result listeners 2018-12-12 12:31:40 +01:00
Chris Loer
662a495561 [docs] EnterIdle -> BecomeIdle 2018-12-11 11:46:16 -08:00
Chris Loer
70c2d5a4ca [core, darwin, android] Add onDidEnterIdle to MapObserver.
didEnterIdle fires whenever render completes and no repaint is scheduled.
2018-12-11 11:46:16 -08:00