Skip to content

android-v10.6.0

Compare
Choose a tag to compare
@pengdev pengdev released this 16 Jun 15:14
· 888 commits to main since this release
a58acb1

10.6.0 - June 16, 2022

Changes since Mapbox Maps SDK for Android 10.5.0

Breaking changes ⚠️

  • Remove deprecated (since v10.5.0) experimental methods MapboxMap.setMapProjection/MapboxMap.getMapProjection. Those methods should be replaced with setting projection as part of Style DSL to achieve the same behavior. (1420)

Features ✨ and improvements 🏁

  • Enable support for incremental annotation processing. (#1323)
  • Make use of non-deprecated common Mapbox logger. (#1327)
  • Expose factory methods for high-level camera animators. (#1338)
  • Introduce map atmosphere and fog. Setting atmosphere and fog supports Style DSL as well. (#1344)
  • Introduce experimental 3D model support. (#1351)
  • Use a single shared buffer across all globe tiles to increase globe rendering performance. (#1351)
  • Re-introduce partial tile loading feature that decreases map load times. (#1351)
  • The TilesetDescriptorOptions.pixelRatio parameter is now passed to the TileStore and considered for the raster tile pack loading. This enables loading of a raster tilepacks for retina displays. (#1351)
  • Introduce pinchScrollEnabled configuration to enable/disable 2-finger map panning, default to true. (#1343)
  • Re-throw native exceptions jni::PendingJavaException as readable Java exceptions with detailed exception text. (#1363)
  • Add static MapView.isTerrainRenderingSupported() method to validate if 3D terrain rendering is supported on given device. (1368)
  • Optimize MapboxMap.loadStyle() to apply styling properties earlier. #1362
  • Update SDK name in attribution action sheet. (1375)
  • Introduce experimental ModelLayer API to render 3D models on the map. (#1369)
  • Minimise tiles relayout on camera zooming with globe view. Improve the overall performance and reduce latency of the cached tiles appearance. (#1396)
  • Add minimum and maximum range check for sky layer property sky-atmosphere-sun and sky-gradient-center. If the input is invalid, the default property value will be used. (#1396)
  • Share render data between vector render tiles referring to the same logical tile. (#1396)
  • Reduce geometry on globe tile to increase rendering performance. (#1432)

Bug fixes 🐞

  • Enable two finger pan gesture. (#1280)
  • Fix a bug that scale bar is shorter than it should be; trigger invalidateScaleBar while updating settings to make scale keep the latest status. (#1336)
  • Keep the original animator owner for CameraAnimationsPlugin.playAnimatorsTogether and CameraAnimationsPlugin.playAnimatorsSequentially. (#1345)
  • Fix for momentary appearing of a lower zoom level tile labels during camera movement. (#1351)
  • Fix for location indicator not being rendered at the horizon when terrain is enabled. (#1351)
  • Fix for loading gltf models with interleaved buffers. (#1351)
  • Fix a bug that line-trim-offset input may lose precision via shader calculation. (#1359)
  • Add mercator scale factor to 3D location puck, so that the 3D puck size won't increase as latitude increases. (#1350
  • Fix a crash due to invalid focal point when panning the map. (#1364)
  • Fix compass is not showing in "edge-to-edge" mode. (1391)
  • Fix an unexpected request update delay for tiles taken from in-memory cache when minimumTileUpdateInterval is set. (#1396)
  • Fix a rare bug where some tiles would not show up correctly on globe. (#1396)
  • Fix a bug where features could be queried without cursor intersecting the globe. (#1396)
  • Fix view annotations disappearing on the globe. (#1396)
  • Fix symbols ignoring both collision and placement on the globe. (#1396)
  • Add anti-aliasing on the globe on low zoom levels. (#1396)
  • Fix globe controls when map orientation is something else than "north". (#1396)
  • Fix circle and heatmap layers not being aligned with globe's surface. (#1396)
  • Optimise the frequency to update location layer's visibility. (1399)
  • Fix the delay in the first appearance of the location puck. (1403)
  • Remove android.permission.GET_TASKS permission from the SDK. (1430)
  • Fix lag during night/day style switching when globe is enabled. (#1432)
  • Fix crash on globe symbol placement that happens during style change. (#1432)
  • Fix incorrect image source rendering with terrain enabled. (#1432)
  • Fix in-memory tile cache for non-geometry tiles when the map projection changes. Before, the tiles cached while the previous projection was active could not be used with the new projection active. (#1432)

Dependencies

  • Bump Mapbox Android base library to v0.8.0. (#1323)
  • Bump gl-native to v10.6.0, common to 22.0.0. (#1432)
  • Bump telemetry to v8.1.3, android core to 5.0.2. (1430)