Commit Graph

56 Commits

Author SHA1 Message Date
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
Tobrun
5dbc20dc75 [android] - add toString to Expression to print out object array notation 2018-01-25 10:21:14 +01:00
Osana Babayan
ad28542e77 added parameter validation LatLngBounds.from() (#10831)
closes #10730
2018-01-05 12:09:29 +01:00
Tobrun
5f8b61351f [android] - RTL support 2018-01-05 11:16:44 +01:00
Fabian Guerra
187b6dc31c Merge branch 'release-agua' into master
# Conflicts:
#	circle.yml
#	cmake/core-files.cmake
#	platform/android/CHANGELOG.md
#	platform/android/MapboxGLAndroidSDK/build.gradle
#	platform/android/MapboxGLAndroidSDK/gradle.properties
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/CameraChangeDispatcher.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapboxMapOptions.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/text/LocalGlyphRasterizer.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/utils/BitmapUtils.java
#	platform/android/MapboxGLAndroidSDKTestApp/src/main/AndroidManifest.xml
#	platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/maplayout/DebugModeActivity.java
#	platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/maplayout/LocalGlyphActivity.java
#	platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/userlocation/MyLocationTintActivity.java
#	platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_local_glyph.xml
#	platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/descriptions.xml
#	platform/darwin/src/MGLMapSnapshotter.mm
#	platform/darwin/src/MGLRendererConfiguration.h
#	platform/ios/CHANGELOG.md
#	platform/ios/DEVELOPING.md
#	platform/ios/INSTALL.md
#	platform/ios/README.md
#	platform/ios/resources/bg.lproj/Localizable.strings
#	platform/ios/resources/es.lproj/Localizable.strings
#	platform/ios/resources/vi.lproj/Localizable.strings
#	platform/ios/src/MGLMapView.mm
#	platform/macos/macos.xcodeproj/project.pbxproj
#	src/mbgl/text/glyph_manager.cpp
2018-01-04 12:55:19 -06:00
Osana Babayan
814c87fbab add max & min latitude and longitude constants to maps sdk
add max & min latitude and longitude constants to maps sdk  that are independent of Mercator projection

closes #10780
2018-01-02 12:43:27 -05:00
Osana Babayan
28a21f3b0b LatLng.wrap should return a new instance of LatLng (#10769)
LatLng.wrap shoudl wrap mulpiples of max value to max
2017-12-21 16:04:26 -05:00
paczos
6b535f70ce [android] added map touch listeners api based on lists 2017-12-20 06:38:56 +01:00
Tobrun
757cc0f2be [android] - add binding integration for expressions (#10654) 2017-12-19 08:55:48 +01:00
paczos
fc50605507 [android] checkstyle fixup 2017-12-14 16:23:33 +01:00
paczos
2afa8a1725 [android] added map touch listeners test 2017-12-14 16:23:33 +01:00
Tobrun
4525ff714a Post camera listener invocations (#10690)
* [android] - post camera listener invocations

* remove jvm unit test
2017-12-14 12:15:36 +01:00
Asheem Mamoowala
eb6de2c434 [android] Bindings for Custom Geometry Sources 2017-11-22 13:56:38 -08:00
Tobrun
f0f113bafc MapSnapshot attribution (#10362)
* [android] - add attribution

* [android] - optimise attribution sources

* [android] - rework datamodel to attribution class

* [android] - refactor Attribution, add tests

* [android] - add getter for attribution string

* [android] - rework attribution to include small logo, add layout placement

* [android] - finalise integration and layout logic
2017-11-14 11:13:34 +01:00
tobrun
24de48b772 [android] - update android unit tests, update test make target to SDK 2017-11-06 18:53:50 +01:00
Pablo Guardiola
cdc5dde0ec [android] revert adding mapbox-android-core dependency (#10354) (#10380) 2017-11-03 15:39:53 -07:00
Pablo Guardiola
29a94ae939 [android] make location provider optional (#9488) (#10354) 2017-11-01 18:25:52 -07:00