This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Description In preparation for release v5.2.0 of the Mapbox Android SDK, we're releasing today the fifth beta (v5.2.0-beta.5) in the 5.2.x series. This release brings major features and numerous bug fixes. The main features included with this release are support for Android asynchronous rendering (#9576 ) and the new map snapshotter (#9748 )
Please note that this is a pre-release version intended to gather early feedback on the new APIs and to detect any potential issues (you can report them here ). This release is not intended for production apps.
Highlights
MapSnapshot attribution MapSnapshot attribution #10362
Downgrade min sdk to 14 Downgrade min sdk to 14 #10355
Harden deselection mechanism for markers Harden deselection mechanism for markers #10403
Cherry picks to agua [android] Cherry picks to agua #10442
Rework test activity gen script setup Rework test activity gen script setup #10365
Fix broken android unit tests, update test make target to SDK Fix broken android unit tests, update test make target to SDK #10387
Check for null value when calling mapboxMap.clear Check for null value when calling mapboxMap.clear #10388
Revert adding mapbox-android-core dependency ([android] make location provider optional (#9488) #10354 ) #10380
Asynchronous TextureView #10370
Workaround OkHttp bug on Android O
Revisit logo resize 10553
Logo resize for MapSnapshotter #10312
Make location provider optional #10354
Check for positive animation value #10348
Fix IAE of ease/animate #10338
Run full test suite on CI #10333
Make sure camera position gets updated in onFinish() callback after camera.move #10324
throw IAE in animate() and easeCamera() when duration <= 0 #10321
Don't save state if map hasn't been initialised #10320
Make map snapshot optional #10310
Synchronise locationlastions with Transifex #10309
MapboxMap#addImages #10281
Move shape annotation click handling to core #10267
Map snapshotter additions #10163
Add velocity to gestures / port animations to SDK animators #10202
Don't save state if map hasn't been initialised #10320
android.hardware.location.gps feature should not be required #10347
Reorganize dependencies #10268
Blacklist VAO usage on adreno 3xx #10291
On stop null check #10259
Wire up MapZoomButtonController with camera change events #10221
Execute callbacks only when not idle #10220
Cleanup unused gradle plugins #10211
add FileSource pause/resume #9977
add make target for ndk-stack #10185
Add interpolator examples #10067
Add an UnsatisfiedLinkError safeguard #10180
Hold off handling hover events untill map has been created #10142
Added MapboxMap.getCameraForGeometry() to get a camera with zoom level and center coordinate computed to fit a shape #10107
Fine tune gesture zoom & rotation #10134
Allow multiple listeners for camera events, deprecate old API #10141
Update symbol layer example with location #10092
Make OfflineTilePyramidRegionDefinition parceable #10080
Fix 5.2.0-SNAPSHOT CI build failing #10079
Deprecate MarkerView #9782
Hide overlain views on initalisation #10068
API for platform side animations #10001
Android asynchronous rendering #9576
Set error handler when starting snapshotter #10035
Hook camera events into compass #10019
Testapp cleanup #10006
Update zoom function example with selected state #9987
Add style inspection to debug activity #9773
Bump external dependencies #9972
Don't recycle bitmap for icon reuse. #9966
Android snapshotter #9748
Revert Configure logging of HttpRequest, cleanup HttpRequest #9764 #9851
Update docs replacing Bitrise mentions with CircleCI #9515
Style image accessor #9763
Update readme with checkstyle and ndk-stack #9788
make android-check #9787
Deprecate MyLocationView in favor of LocationLayer plugin #9771
Increase firebase timeout for CI testing #9774
Restore max zoom to 25.5 #9765
Update example of camera zoom function on a symbol layer. #9743
Optimise icon management #9643
Expose setStyleJson and getStyleJson #9714
update LatLngBounds activity with BottomSheet interaction #9736
post updating InfoWindow update for InfoWindowAdapter #9716
Annotate MapboxMap class with UiThread #9712
Move ZoomButtonController creation to view initalisation #9587
Solve lint issues, reduce baseline #9627
Remove wear module from project #9618
Add zMediaOverlay configuration + bottom sheet integration #9592
Forward getMapAsync to map for fragment #9621
Make target for dumping system gfx information #9616
Make target documentation #9617
onGlobalLayout hook for map creation #9607
Custom viewpager for horizontal swiping #9601
Disable program caching on Adreno 3xx, 4xx, and 5xx GPUs due to known bugs #9574
Avoid creating InfoWindow iterator if no InfoWindows are shown #9477
Rewire map initialisation #9462
Trying to update non-existent polyline fix #9544
Location accuracy threshold #9472
Rewire gesture handling and telemetry event push #9494
run style instrumentation tests on CI #9353
Fix javadoc comment for public setOfflineMapboxTileCountLimit method #9454
add Map change & visibility test activities #9425
build release package once during ci build #9351
Add support for ImageSource #9110
Increased the default maximum zoom level from 20 to 22. #9835
Checklist for making this happen
/cc @mapbox/mobile @mapbox/support
Reactions are currently unavailable
In preparation for release v5.2.0 of the Mapbox Android SDK, we're releasing today the fifth beta (v5.2.0-beta.5) in the 5.2.x series. This release brings major features and numerous bug fixes. The main features included with this release are support for Android asynchronous rendering (#9576) and the new map snapshotter (#9748)
Please note that this is a pre-release version intended to gather early feedback on the new APIs and to detect any potential issues (you can report them here). This release is not intended for production apps.
Highlights
MapboxMap.getCameraForGeometry()to get a camera with zoom level and center coordinate computed to fit a shape #10107Checklist for making this happen
5.2.0-beta.5in /platform/android/MapboxGLAndroidSDK/gradle.properties5.2.0-beta.5artifact to Maven Central5.2.0-beta.55.2.0-SNAPSHOTin /platform/android/MapboxGLAndroidSDK/gradle.propertiesrelease-android-v5.2.0-beta.5back intorelease-agua5.2.0-beta.5inandroid-docsrepo'sconstants.jsfile @langsmith5.2.0-beta.5@langsmithupdate the style specification’s SDK support tables @langsmith noteconfigfiles in /help @langsmithsrc > constants.jsfile in/www.mapbox.com@langsmith/cc @mapbox/mobile @mapbox/support