Commit Graph

563 Commits

Author SHA1 Message Date
Tobrun
d9e4c61923 [android] - remove camera api from MapboxMap, refactor test app code to CameraUpdateFactory api 2018-02-20 16:22:09 +01: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
Tobrun
143c346d9d [android] - translucent surface on TextureView 2018-02-13 12:53:18 +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
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
828847101b [android] - release android v6.0.0-beta.1 2018-01-29 11:36:04 +01:00
Tobrun
a4546a84de [android] - add binding integration for RasterDEMSource, add example 2018-01-25 12:54:10 +01:00
Tobrun
0d453a688b [android] - correct marker location when using Snapshot#pixelForLatLng 2018-01-25 11:07:48 +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
Molly Lloyd
f3294200c6 [core] add raster-dem source type and hillshade layer type (#10642) 2018-01-23 10:49:23 -08:00
Tobrun
b863871bf2 [android] - allow setting an OkHttpClient 2018-01-18 15:20:24 +01:00
Tobrun
11fa52a1fe [android] - cleaup dependencies.gradle 2018-01-18 14:12:09 +01:00
Tobrun
69ac7b6922 [android] - replaced Mapzen external vector source example with mapillary 2018-01-16 16:01:06 +01:00
Tobrun
2b037065e3 [android] - move gradle files to dedicated folder 2018-01-11 21:31:25 +01:00
John Firebaugh
76ed5079a5 [core, ios, macos, android] Add data-driven-styling support for text-font 2018-01-10 15:31:12 -08:00
tobrun
04386db563 [android] - use the correct cancelable callback after posting the cancelation 2018-01-10 11:03:29 +01:00
Tobrun
610fb87c76 [android] - include request urls when logging out failed http requests 2018-01-09 17:05:02 +01:00
tobrun
068d2f267f [android] - fix code generation, remove lamda, fixup color conversion locale 2018-01-09 17:04: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
tobrun
c62b0af24f [android] - replace low level json parsing 2018-01-04 14:26:59 +01:00
tobrun
6ce38ccc6f [android] - add orientation change regression test 2018-01-02 17:14:11 +01:00
Chris Loer
9ed3aeaee1 [android] Tweak TinySDF docs to better describe font-family behavior. 2017-12-19 13:05:39 -08:00
Tobrun
af52538a81 Saving/restoring MyLocationViewSettings (#10746) (#10748)
[android] saving/restoring MyLocationViewSettings, updated BitmapUtils
2017-12-19 19:38:11 +01:00
Łukasz Paczos
de5357c95f Saving/restoring MyLocationViewSettings (#10746)
[android] saving/restoring MyLocationViewSettings, updated BitmapUtils
2017-12-19 16:59:02 +01:00
Tobrun
228aadc07e [android] - bump gradle syntax to 4.1 2017-12-19 13:39:38 +01:00
Tobrun
1b0a5f633a [android] - replace anonymous inner classes with lambda 2017-12-19 13:39:38 +01:00
Tobrun
7f14f0270d [android] - enable java 8 language features 2017-12-19 13:39:38 +01:00
Tobrun
757cc0f2be [android] - add binding integration for expressions (#10654) 2017-12-19 08:55:48 +01:00
Chris Loer
f2b42af339 [android] Add Configuration hook for local ideograph font family and demo activity 2017-12-18 12:17:22 -08:00
Tobrun
7c06eda515 [android] - allow configurable http logging 2017-12-12 17:25:27 +01:00
Chris Loer
78545723fe [android] Add basic JavaDoc comment for LocalGlyphActivity. 2017-12-11 10:43:00 -08:00
Chris Loer
e8daa84de6 [android] Tweak LocalGlyphActivity description to be a bit more specific than the title. 2017-12-11 10:43:00 -08:00
Chris Loer
f2d70aa890 [android] Fixups for LocalGlyphActivity 2017-12-11 10:43:00 -08:00
Asheem Mamoowala
bee60130d3 [android] Add Configuration hook for local ideograph font family and demo activity 2017-12-11 10:43:00 -08:00
Tobrun
405d141b9e [android] - update bottom sheet example with popable fragment backstack (#10506) 2017-11-23 08:17:09 +01:00
Asheem Mamoowala
934fa4933c [android] Add Grid source sample for Custom Geometry Source 2017-11-22 13:56:38 -08:00
Tobrun
d46641cad6 [android] - use TextureView for ViewPager carousel (#10519) 2017-11-21 20:33:13 +01:00
Pablo Guardiola
30e59ce738 Monkey crashes (#10440) (#10472)
* [android] - avoid null map from trackballevent

* [android] - fixup animated marker test activity from monkey runs

* [android] - harden NativeMapView OnMapChangeListener

* [android] - harden against destroyed wrapper activity while moving touch pointers

* [android] - harden bulk marker activity for monkey runner

* [android] - harden scale end gesture event for null velocity tracker

* [android] - invalid mapboxMap invocation

* [android] - reset test setup
2017-11-16 16:06:22 +01: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
a47f8245da Monkey crashes (#10440)
* [android] - avoid null map from trackballevent

* [android] - fixup animated marker test activity from monkey runs

* [android] - harden NativeMapView OnMapChangeListener

* [android] - harden against destroyed wrapper activity while moving touch pointers

* [android] - harden bulk marker activity for monkey runner

* [android] - harden scale end gesture event for null velocity tracker

* [android] - invalid mapboxMap invocation

* [android] - reset test setup
2017-11-10 16:33:51 +01:00
Pablo Guardiola
b5140cb342 [android] Cherry picks to agua (#10442)
* [android] fix map snapshotter marker example

The reference to the MapSnapshotter needs to be held for the duration of the snapshot, otherwise it might be GC'd

* [android] MapRendererRunnable - avoid weak reference table overflow

Apparently on some devices the weak reference table is limited (numbers around 52000). Even though we don't use that many weak references, when GC is not called for a while they can stack up and a crash will occur before the GC has had the time to clear the references. The C++ peer now holds on to a global ref (strong) which can be obtained to queue the java peer and then release automatically so that the GC can take over after the runnable has been executed.
2017-11-10 12:56:06 +01:00
Tobrun
225fba8a0a Merge branch 'release-agua' into tvn-merge-release 2017-11-10 06:16:35 +01:00
Ivo van Dongen
43f89d6b6a [android] fix map snapshotter marker example
The reference to the MapSnapshotter needs to be held for the duration of the snapshot, otherwise it might be GC'd
2017-11-09 15:24:15 +02:00
Pablo Guardiola
cec7d12e37 [android] revert adding mapbox-android-core dependency (#10354) (#10380) 2017-11-09 12:43:28 +01:00
Tobrun
cc67335499 [android] - add config file for excluding generated tests, refactor generation script output 2017-11-08 09:58:31 +01:00
Pablo Guardiola
cdc5dde0ec [android] revert adding mapbox-android-core dependency (#10354) (#10380) 2017-11-03 15:39:53 -07:00
Ivo van Dongen
8753edf08f [android] test app - texture view test activities 2017-11-03 09:19:39 -07:00