Commit Graph

1913 Commits

Author SHA1 Message Date
Ł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
Osana Babayan
19d08db2e4 [android] take advantage of MAS 3.0-beta.3 changes
fromLngLats() take double arrays are called from Java (not the List<Point> ones)
2018-03-06 09:43:01 -05:00
Tobrun
38fd733c9c [android] - rework match expression to style specification syntax 2018-03-06 15:03:20 +01:00
Tobrun
1785a98e4f [android] - make javadoc configuration compatible with Gradle 4.4 2018-03-05 14:55:27 +01:00
Łukasz Paczos
c0bb9aaa81 [android] reworked zoomIn and zoomOut to use ValueAnimators (#11382) 2018-03-05 14:23:28 +01:00
Tobrun
4408e2f0bc [android] - delete local ref pixel buffer when converting Image.java to core 2018-03-02 13:50:24 +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
7d8aaa1bf8 Release android v6.0.0-beta.3 (#11369)
* [android] updated changelog to reflect 6.0.0-beta.3 changes

* [android] release configuration for v6.0.0-beta.3

* [android] reverted release configuration for v6.0.0-beta.3
2018-03-02 13:15:11 +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
Ivo van Dongen
627a05475b [android] custom layer example - remove dependencies on mbgl logging and string headers 2018-03-01 12:21:32 +01:00
Ivo van Dongen
06fa9c6b29 [android] custom layer example - add error checking to debug issues more easily 2018-03-01 12:21:32 +01:00
Ivo van Dongen
c3541cd055 [android] custom layer example - fix fragment shader source for opengl es 2 phones 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
a06ce19369 [android] - add default heatmap color to getter 2018-03-01 11:29:53 +01:00
Tobrun
2e008aa29e [android] - add heatmap color property 2018-03-01 11:29:53 +01:00
Łukasz Paczos
2187d140df [android] new gesture library - bumped snaphost version 2018-03-01 10:17:12 +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
osana
1862760faf [android] jni clean up - missing a couple DeleteLocalRef 2018-02-22 10:15:06 +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
dd822e8fde [android] missing DeleteLocalRef 2018-02-20 09:23:24 -05: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
Pablo Guardiola
604931247e [android] initialize events when creating mapbox instance (#11211) 2018-02-16 22:12:45 +01:00
Fabian Guerra
b630dbc357 [android] Reverted master changes that doesn't apply to boba. 2018-02-16 12:42:01 -05:00
Fabian Guerra
903e7989ec Merge branch 'master' into release-boba
# Conflicts:
#	platform/android/CHANGELOG.md
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/Mapbox.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/widgets/CompassView.java
#	platform/android/scripts/exclude-activity-gen.json
#	platform/ios/CHANGELOG.md
#	platform/ios/Mapbox-iOS-SDK-nightly-dynamic.podspec
#	platform/ios/Mapbox-iOS-SDK-symbols.podspec
#	platform/ios/Mapbox-iOS-SDK.podspec
#	platform/macos/CHANGELOG.md
2018-02-15 11:54:51 -05:00
Vladimir Agafonkin
82de856c94 [core, ios, macos, android, node] Heatmap layer (#11046)
Co-Authored-By: Konstantin Käfer <mail@kkaefer.com>
Co-Authored-By: Anand Thakker <anandthakker@users.noreply.github.com>
Co-Authored-By: Minh Nguyễn <1ec5@users.noreply.github.com>
2018-02-15 17:38:23 +02:00
Molly Lloyd
8a283b0306 [core] add support for mapzen terrarium (#11154)
* add support for mapzen terrarium

* Encoding --> DEMEncoding, avoid if statement when unpacking elevation values

* add Terrarium test

* update submodule

* remove redundant checks
2018-02-14 13:17:55 -08:00
Chris Loer
a11b277bc1 [core] Rename "onLowMemory" to "reduceMemoryUse".
Android still calls "reduceMemoryUse" only while handling a low memory event.
iOS, on the other hand, calls "reduceMemoryUse" every time it enters the background.
2018-02-14 10:55:16 -08:00
Fabian Guerra
7081c9dfdb Merge branch 'fabian-merge-3.7.4-master' 2018-02-14 12:14:34 -05:00
Tobrun
eddcefb3c8 [android] - update changelog for 6.0.0-beta.2 2018-02-14 12:50:52 +01:00
Tobrun
c83dc310aa [android] - update changelog for 6.0.0-beta.2 2018-02-13 18:12:03 +01:00
Fabian Guerra
7ec840bbab [android] Add Timber library import. 2018-02-13 11:47:37 -05:00
Fabian Guerra
b68266953f Merge tag 'ios-v3.7.4' into master
# Conflicts:
#	include/mbgl/style/conversion/tileset.hpp
#	include/mbgl/util/tileset.hpp
#	platform/android/CHANGELOG.md
#	platform/android/MapboxGLAndroidSDK/gradle.properties
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.java
#	platform/ios/CHANGELOG.md
#	platform/ios/ios.xcodeproj/project.pbxproj
#	platform/macos/CHANGELOG.md
#	src/mbgl/layout/symbol_projection.cpp
#	src/mbgl/renderer/tile_pyramid.cpp
#	src/mbgl/style/conversion/tileset.cpp
2018-02-13 11:40:40 -05:00
Tobrun
7742992692 [android] - deprecate locationengine 2018-02-13 13:42:09 +01:00
Tobrun
44c00ee63e [android] - use ImageView instead of AppCompatImageView 2018-02-13 13:41:50 +01:00
Tobrun
35930614ae [android] - remove lost dependency from the sdk 2018-02-13 13:41:24 +01:00