Commit Graph

1227 Commits

Author SHA1 Message Date
Tobrun
aa43dfd6c1 [android] - add convinience step expression (#11641) 2018-04-10 14:26:22 +02:00
Tobrun
ce75c3b3e7 [android] - add javadoc code examples for Android (#11540) 2018-04-10 13:45:46 +02:00
Tobrun
c2a78d0d72 [android] - add paused state to map renderer, don't render snapshot when paused (#11358) 2018-04-10 11:10:14 +02:00
Tobrun
44ce5ab087 Rework expression conversion (#11490)
* [android] - rework expression conversion
2018-04-10 11:09:42 +02:00
Łukasz Paczos
351ac83c75 [android] - fixed gesture events listeners lists documentation (#11630) 2018-04-10 09:57:00 +02:00
Osana Babayan
275d753e91 [android] updated mapbox-sdk-services to 3.0.1 (#11593)
* [android] updated mapbox-sdk-services to 3.0.1

* [android] - downgrade tooling for MAS-3.0.1
2018-04-05 11:38:02 -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
Łukasz Paczos
25d0f7157d [android] invalidate camera position before delivering onMapReady (#11585) 2018-04-04 11:55:46 +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
Asheem Mamoowala
099fcc3b3c Use a host interface for CustomLayer instead of function pointers (#11553)
Use a host interface for CustomLayer instead of function pointers

Co-authored-by: Julian Rex <julian.rex@mapbox.com>
2018-04-02 16:15:25 -07:00
Tobrun
f5ce99f3e3 [android] - allow multiple expressions in string, number and bool asserting expressions 2018-03-26 13:03:14 -04:00
Tobrun
ce3c42a1c2 [android] - don't load default style if style json string was set (#11520) 2018-03-26 09:40:22 -04:00
Tobrun
c44fe25200 [android] - correctly convert Android int colors with to-color expression (#11506) 2018-03-23 09:54:22 -04:00
Tobrun
1d29f82c1b [android] - expose public api telemetry (#11503) 2018-03-22 17:10:26 -04:00
Tobrun
61e6e62663 [android] - make default output param from step expression more descriptive, add param to javadoc (#11501) 2018-03-22 12:45:27 -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
4b3d0638b8 [android] - update changelog for v6.0.0-beta.4 (#11485) 2018-03-21 09:09:49 +01:00
Łukasz Paczos
a2250098f5 [android] bumped gestures library version to 0.1.0 (#11483) 2018-03-20 13:03:06 +01: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
Osana Babayan
f2fbe69b32 update to MAS3.0-beta.4 (#11468) 2018-03-16 14:11:07 -04:00
Tobrun
aba24da180 [android] - implement expression literal on arrays 2018-03-16 17:09:35 +01:00
Łukasz Paczos
146e615bae [android] fixed TWO_FINGER_TAP telemetry event (#11460) 2018-03-16 10:41:34 +01:00
Tobrun
961aba1552 [android] - revisit proguard configuration for release-boba 2018-03-12 16:36:45 +01:00
Tobrun
6179110b6b [android] - add expression conversion, add getters (#11352) 2018-03-08 16:27:02 +01:00
Łukasz Paczos
dfdfbc0990 [android] calculating camera's LatLng for bounds without map padding (#11410) 2018-03-08 15:55:47 +01:00
Tobrun
ea525fd08a [android] - check for null body on http request, cleanup code 2018-03-08 15:51:07 +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
990999402c [android] - revert java8 support in the SDK 2018-03-06 17:51:58 +01:00
Tobrun
38fd733c9c [android] - rework match expression to style specification syntax 2018-03-06 15:03:20 +01:00
Łukasz Paczos
c0bb9aaa81 [android] reworked zoomIn and zoomOut to use ValueAnimators (#11382) 2018-03-05 14:23:28 +01:00
Tobrun
4152c3094a [android] - use float for pixelratio when creating a snapshotter 2018-03-02 13:44:42 +01:00
Tobrun
6ca4949d0f [android] - validate if width and height aren't 0 when creating options class 2018-03-02 13:44:16 +01:00
Łukasz Paczos
899211d816 Remove deprecated location APIs (#11351) 2018-03-02 11:01:10 +01:00
Molly Lloyd
d5829d0d00 [android] add support for mapzen terrarium raster-dem encoding (#11339) 2018-03-01 11:15:36 -08:00
Osana Babayan
5b4b3c5c1f [android] rotated map VisibleRegion returns incorrect bounds when going over date line 2018-03-01 12:20:41 -05:00
Tobrun
0082114426 [android] - don't disable zoom button controller zooming whem zooming gestures are disabled 2018-03-01 12:21:32 +01:00
Tobrun
4d439b0043 [android] - decouple map padding from overlain views 2018-03-01 12:21:32 +01:00
Tobrun
0f9990c0c5 [android] - check if hosting Activity isn't finishing before showing an dialog 2018-03-01 12:21:32 +01:00
Łukasz Paczos
636cf4588a [android] expose ImageSource coordinates setter (#11262)
(cherry picked from commit fcf5fa6)
2018-03-01 12:21:32 +01:00
Tobrun
2e008aa29e [android] - add heatmap color property 2018-03-01 11:29:53 +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
Tobrun
727afc4afc [android] - remove generics from expression api 2018-02-26 13:35:17 +01:00
Tobrun
278cd580fc [android] - fix javadoc utf8 encoding issues, add missing package-info.java items 2018-02-22 14:29:51 +01:00
Tobrun
d9e4c61923 [android] - remove camera api from MapboxMap, refactor test app code to CameraUpdateFactory api 2018-02-20 16:22:09 +01:00
Langston Smith
2e0377b02e method name typo fix (#11245) 2018-02-20 08:28:56 -06:00
Osana Babayan
4be4b4bfed [android] incorrect latlngBounds in the VisibleRegion with map is rotated
smallest bounding box for 4 points cannot (#11226)
be created using LatLngBounds.fromLatLngs()
as the order matters in that method and that does not work for rotated map
2018-02-19 10:25:11 -05:00