Commit Graph

72 Commits

Author SHA1 Message Date
Tobrun
6177427108 [android] - infer nullity 2018-10-12 18:40:29 +02:00
Tobrun
9e7694cb38 [android] - replace OnMapChange with specific callbacks 2018-10-11 14:12:35 +02:00
Łukasz Paczos
ba06161b27 [android] invalidate camera mode in LocationComponent for gestures initiated changes only if necessary 2018-09-25 11:52:35 +02:00
tobrun
5238c77696 [android] - add binding integration for cross source collision 2018-09-12 14:10:46 -07:00
Łukasz Paczos
229e35e9c3 [android] use the SparseArray instead of the HashMap in location animator coordinator 2018-09-12 13:59:11 +02:00
Łukasz Paczos
b2d4b82cdf [android] updated location tracking gestures management tests 2018-09-12 13:59:11 +02:00
Łukasz Paczos
8cd86fe1b4 [android] improved gestures management while tracking location 2018-09-12 13:59:11 +02:00
Łukasz Paczos
907612e93d [android] updated naming scheme and packages structure for LocationLayerPlugin, now called LocationComponent 2018-09-12 13:59:11 +02:00
Łukasz Paczos
cf7752c80c [android] save location state 2018-09-12 13:59:11 +02:00
Łukasz Paczos
5d000d090f [android] merge LocationLayerPlugin to Maps SDK 2018-09-12 13:59:11 +02:00
Łukasz Paczos
1c103fa09a [android] "is-supported-script" expression support 2018-09-07 14:47:43 +02:00
Tobrun
e082af1879 [android] - correct latlngbounds exception message 2018-09-05 12:36:23 +02:00
Tobrun
e4bcd1abed [android] - provide correct expression integration for newly created property values 2018-09-04 18:21:36 +02:00
Tobrun
1099bb4920 [android] - add quotes to toString representation of a String literal 2018-09-04 10:19:16 +02:00
Tobrun
e7642f28fe [android] - make improve this map translatable 2018-09-04 10:18:50 +02:00
tobrun
d297bf10ef [android] - modularise the sdk 2018-08-24 18:40:11 +02:00
Tobrun
520df7f020 [android] - replace hardcode telemetry settings string by resources string 2018-08-22 13:37:29 +02:00
Łukasz Paczos
87f73bb0a2 [android] "collator" and "resolved-locale" expressions support 2018-08-22 11:06:59 +02:00
Tobrun
7ce6af3f55 [android] - expose stylejsoon confiugration on MapboxMapOptions and MapView attributes 2018-08-21 17:27:09 +02:00
tobrun
bfe714eebe [android] - fix accesstoken validation 2018-07-23 14:31:18 +02:00
tobrun
e08ee7338a [android] - remove unique LatLng validation of LatLngBounds builder 2018-07-09 15:00:57 +02:00
tobrun
32dce870d7 [android] - create device independent tests for camera position testing 2018-07-05 13:30:50 +02:00
tobrun
abca28c66b [android] - range alpha between 0 and 1 with android color conversion 2018-06-27 19:11:48 +02:00
tobrun
83ebd5f6ff [android] - fix literal wrapping in comparission expressions 2018-05-29 15:53:38 +02:00
Łukasz Paczos
22741a0ce1 [android] - raw expression support 2018-05-28 14:58:51 +02:00
Tobrun
7aaf492ef2 UI thread checking (#12000)
* [android] - add UI thread checking
2018-05-25 11:46:04 +02:00
Tobrun
7710934ff0 [android] - remove requirement of having a mapbox access token (#12001) 2018-05-25 11:42:57 +02:00
Osana Babayan
36d30f13fc [android] added more tests for LatLngBounds.union(), LatLngBounds.intersect() (#11777)
fixed going over antimeridian for both
2018-05-11 16:00:45 -04:00
Łukasz Paczos
8bf1ff1b36 [android] - unwrap LatLngBounds before creating core object 2018-05-02 12:23:37 +02:00
Łukasz Paczos
fa700cc108 Revert "[android] - unwrap LatLngBounds for the shortest path when passing to core (#11759)"
This reverts commit eb39c80
2018-05-02 12:23:37 +02:00
Łukasz Paczos
eb39c80604 [android] - unwrap LatLngBounds for the shortest path when passing to core (#11759) 2018-04-24 11:31:29 +02:00
Anand Thakker
f0f67b4788 Add abs, round, floor, ceil operators (#11653)
* Add abs, round, floor, ceil operators

Port of https://github.com/mapbox/mapbox-gl-js/pull/6496

* [ios, macos] Simplified abs, ceiling, floor expressions

* [ios, macos] Added rounding expression function

* [android] - binding integration for round, ceil, floor and abs expressions

* Update mapbox-gl-js to include non-integer rounding test

* Drop extra braces

* mapbox-gl-js -> master

* Update style-spec docs -> PropertyFactory.java
2018-04-11 12:03:56 -04:00
Osana Babayan
797486bc5f [android] center was calculated incorrectly for LatLngBounds with zero span (#11650) 2018-04-11 10:00:07 -04:00
Osana Babayan
4191c4bbcb [android] LatLngBounds were not build correctly when lons were the same (#11647) 2018-04-10 12:41:59 -04:00
Tobrun
5d8844152d Rework logical condition convenience expressions (#11555)
* [android] - rework expression logical operator api to match actual usage
2018-04-04 12:41:34 +02:00
Tobrun
1730756e87 [android] - throw illegal argument exception when attempting to convert an PropertyValue as an expression literal (#11572) 2018-04-04 11:33:37 +02:00
Tobrun
c44fe25200 [android] - correctly convert Android int colors with to-color expression (#11506) 2018-03-23 09:54:22 -04:00
Tobrun
1eb90c1448 Literal array conversion of primitive arrays (#11500)
* [android] - literal array conversion of primitives types
2018-03-22 12:40:43 -04:00
Tobrun
f011035017 Expression filters (#11429)
* [android] - add expression filter integration
2018-03-19 15:11:17 +01:00
Guardiola31337
7d5304ebc1 [android] bump mapbox-android-telemetry version to 3.0.0-beta.2 and adapt events related code 2018-03-19 14:55:47 +01:00
Tobrun
aba24da180 [android] - implement expression literal on arrays 2018-03-16 17:09:35 +01:00
Tobrun
6179110b6b [android] - add expression conversion, add getters (#11352) 2018-03-08 16:27:02 +01:00
Łukasz Paczos
12664cd4c4 Expose more gestures settings (#11407)
* [android] enable/disable velocity animations

* [android] exposed a method to cancel ongoing velocity animations

* [android] removed unused methods and constants

* [android] fixed gestures manager initialization

* [android] enable/disable increasing gesture thresholds

* [android] saving/restoring new gestures options
2018-03-07 15:56:22 +01:00
Tobrun
38fd733c9c [android] - rework match expression to style specification syntax 2018-03-06 15:03:20 +01:00
Łukasz Paczos
899211d816 Remove deprecated location APIs (#11351) 2018-03-02 11:01:10 +01:00
Osana Babayan
f4833a2c4e [android] LatLngBounds.union() should take date line into account 2018-02-28 10:10:09 -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
Pablo Guardiola
b8240f725c [android] Integration of the new events library (#10999) (#11183)
* [android] integration of the new events library

* JNI Bug

- current build with JNI bug

* fix #10999 comments

* Clean-up

- clean-up timbers and test code

* [android] fix sdk identifier and sdk version

* [android] merge from master (MAS 3.0)

* [android] bump events lib version to 3.0.0-beta.1 and remove never used methods from math utils class
2018-02-13 12:23:17 +01:00