Commit Graph

1105 Commits

Author SHA1 Message Date
Ł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
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
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
143c346d9d [android] - translucent surface on TextureView 2018-02-13 12:53:18 +01:00
Tobrun
734b420649 [android] - add constrained latlng documentation, add MapboxMap#LatLngZoom 2018-02-13 12:50:51 +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
Pablo Guardiola
44ca0a5ec4 [android] Integration of the new events library (#10999)
* [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 11:31:43 +01:00
Tobrun
ff747a8c53 [android] - add conversion of non ARGB_8888 images to c++, expose Bitmap#copy on the c++ side 2018-02-12 15:56:58 +01:00
Benjamin Jaeger
0b27909b8b NativeMapView.addImage without copying into Java 2018-02-12 15:56:58 +01:00
Tobrun
22cbca41e5 [android] - don't invoke onLowMemory on map when the map isn't fully created yet 2018-02-12 11:14:58 +01:00
tobrun
0eb62576ce [android] - introduce mapview weak reference in global layout listener 2018-02-12 11:14:58 +01:00
tobrun
ff8d1e4b50 [android] - programmatically create GlSurfaceView 2018-02-12 11:14:58 +01:00
tobrun
f581adde16 [android] - don't recreate surface as part of view resize 2018-02-12 11:14:58 +01:00
Tobrun
9941b56238 [android] - don't invoke onLowMemory on map when the map isn't fully created yet 2018-02-12 11:14:39 +01:00
Pablo Guardiola
fec4cc8bd0 [android] remove unnecessary @jar and @aar dependencies suffixes (#11161) (#11165)
* [android] remove unnecessary @jar and @aar dependencies suffixes

* [android] remove lint baseline file from mapbox gl android sdk module and fix lint errors
2018-02-12 09:59:26 +01:00
Pablo Guardiola
6afff00ed4 [android] remove unnecessary @jar and @aar dependencies suffixes (#11161)
* [android] remove unnecessary @jar and @aar dependencies suffixes

* [android] remove lint baseline file from mapbox gl android sdk module and fix lint errors
2018-02-09 16:46:41 +01:00
tobrun
cab2086e1c [android] - don't recreate surface as part of view resize 2018-02-09 14:22:29 +01:00
Osana Babayan
7a0a4c44f4 migrated to use mapbox-java3.0
migrated to use mapbox-java3.0 
old 2.2.9 telementry is still used though
2018-02-08 10:33:12 -05:00
Osana Babayan
4498917a3b migrated to use mapbox-java3.0
migrated to use mapbox-java3.0
note that old 2.2.9 telementry is still used though
2018-02-08 08:44:24 -05:00
tobrun
aeba621573 [android] - programmatically create GlSurfaceView 2018-02-08 14:20:56 +01:00
tobrun
7bccc9d695 [android] - introduce mapview weak reference in global layout listener 2018-02-08 11:43:05 +01:00
Asheem Mamoowala
6c5e457590 Add options for Custom Geometry Source types to enable clipping and wrapping geometry (#11041) 2018-02-07 12:07:31 -08:00
Minh Nguyễn
6757456e16 [android, ios, macos] Updated Russian translations 2018-02-07 02:34:29 -08:00
Martin Hellwig
cdf65020c1 Implement new bearingTrackingMode GPS_NORTH_FACING 2018-02-05 12:19:41 +01:00
Łukasz Paczos
3714aa94e7 [android] - log lack of permissions only if enabling location 2018-02-05 12:19:41 +01:00
Tobrun
ff29a0cb99 [android] - create Handler using the main thread looper 2018-02-05 12:03:19 +01:00
Łukasz Paczos
c636b382e8 [android] - log lack of permissions only if enabling location 2018-02-05 12:03:19 +01:00
Martin Hellwig
cecfa18346 Implement new bearingTrackingMode GPS_NORTH_FACING 2018-02-05 12:03:19 +01:00
Tobrun
2d6fcd3178 [android] - update javadoc with links to style specification 2018-02-05 10:50:22 +01:00
Martin Hellwig
528729dbec Implement new bearingTrackingMode GPS_NORTH_FACING 2018-02-05 10:49:57 +01:00
Tobrun
d0309a3137 [android] - don't invoke onLowMemory on map when the map isn't fully created yet 2018-02-05 09:59:24 +01:00
Łukasz Paczos
7694c9c879 [android] - log lack of permissions only if enabling location 2018-01-31 10:31:05 +01:00
Fabian Guerra
da7759a273 Merge branch 'release-agua' into master
# Conflicts:
#	include/mbgl/style/conversion/layer.hpp
#	platform/android/MapboxGLAndroidSDK/build.gradle
#	platform/android/MapboxGLAndroidSDK/gradle.properties
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/Transform.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/offline/OfflineRegion.java
2018-01-25 14:39:18 -05:00
Tobrun
a4546a84de [android] - add binding integration for RasterDEMSource, add example 2018-01-25 12:54:10 +01:00
Tobrun
5dbc20dc75 [android] - add toString to Expression to print out object array notation 2018-01-25 10:21:14 +01:00
Konstantin Käfer
2502a3ab2b [core] update mapbox-gl-js submodule pin
* disables transition render test (transitions are not supported with Still image rendering in Node.js)
* removes support for hillshade-illumniation-direction-transition
2018-01-24 15:41:22 -08:00