Skip to content

Releases: mapbox/mapbox-maps-android

android-v10.6.0-beta.2

25 May 14:45
92eb525
Compare
Choose a tag to compare
Pre-release

10.6.0-beta.2 May 25, 2022

Features ✨ and improvements 🏁

  • Update SDK name in attribution action sheet. (1375)
  • Introduce experimental ModelLayer API to render 3D models on the map. (#1369)

android-v10.6.0-beta.1

19 May 13:30
059cd01
Compare
Choose a tag to compare
Pre-release

10.6.0-beta.1 May 19, 2022

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

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)

Dependencies

  • Bump Mapbox Android base library to v0.8.0. (#1323)
  • Bump gl-native to v10.6.0-beta.3, common to 22.0.0-beta.1. (#1351, #1354, #1359)

android-v10.4.4

12 May 01:37
1999605
Compare
Choose a tag to compare

10.4.4 May 12, 2022

Bug fixes 🐞

  • Fix NaN latitude native crash rarely happening during MapboxMap#flyTo. (#1271)

android-v10.5.0

05 May 13:27
138f223
Compare
Choose a tag to compare

10.5.0 May 5, 2022

Features ✨ and improvements 🏁

  • Make map projection part of the style-spec and introduce new methods StyleInterface.setProjection / StyleInterface.getProjection. Setting projection supports Style DSL as well. (#1255, #1314)
  • Automatic transition between the globe and mercator projection updated to appear visually more subtle. (#1315)
  • Avoid repeated tile loading from network (or repeated tile decompression when the tile is fetched from the cache database) and repeated vector tile data allocation and parsing when loading render tiles referring to the same logical tile. (#1315)
  • Switch to use shader to calculate the 'line-trim-offset' property update. (#1315)
  • Layer properties transitions performance improved if the layer is transitioning to the same constant value or if transitioning from/to data-driven property. (#1315)
  • New line layer paint property introduced: '{"line-trim-offset", [trim-start, trim-end]}', to take the line trim-off percentage range based on the whole line range [0.0, 1.0]. The property will only be effective when 'line-gradient' property is set. The line part between [trim-start, trim-end] will be marked as transparent to make a line gradient a vanishing effect. If either 'trim-start' or 'trim-end' offset is out of valid range, the default range [0.0, 0.0] will be set. (#1315)
  • Globe view controls revamped for more intuitive interaction with touch controls. (#1315)
  • OfflineRegion::getStatus() API added to get the completion status and the local size of the existing legacy offline regions. (#1315)
  • Refactor all Mapbox logs so that Logcat tag will always be 'Mapbox' allowing easier filtering. Previous log tag will become part of the log message now. (#1276)
  • Optimize how plugins handle settings changes. Call applySettings only when settings value changes. (#1189)
  • Add MapboxMap.isValid() and Style.isValid() methods. MapboxMap becomes invalid when MapView.onDestroy() is called. Style becomes invalid when MapView.onDestroy() is called or new style has been loaded. Accessing any method on invalid object will print an error log. Also unsubscribe map observers automatically when MapboxMap.onDestroy() is invoked. (1193) (1202 (1230) (1241))
  • Add MapboxMap.coordinateBoundsForCameraUnwrapped method for API consistency. (1222)
  • Add LocationIndicatorLayer.bearingTransition API to control transition of bearing property. (1207)
  • Add MapboxConcurrentGeometryModificationException with detailed information instead of ConcurrentModificationException that is thrown when GeoJson data is mutated. (1248)
  • Introduce line-trim-offset property for LineLayer. (1252)
  • Deprecate FollowPuckViewportStateOptions.animationDurationMs, the initial transition will be handled properly by the Viewport plugin internally. (1256, 1261, 1262)
  • Mark MapView.viewAnnotationManager as non-experimental meaning View Annotation API will not have breaking changes in upcoming minor releases. (1260)

Bug fixes 🐞

  • Fix geojson missing updates with persistent layer after style change. (#1324)
  • Fix render tasks being skipped when creating the map that could lead to missing tiles. (#1304)
  • The legacy offline region observer instance is not unnecessarily retained inside the engine. #1315
  • Fix a bug of querying rendered feature for circle layer with map-pitch-alignment when the pitch is zero. #1315
  • Fix a bug where zooming was not possible with terrain enabled and exaggeration 0. #1315
  • Fix an issue where internal hsla() function was converted to an invalid rgba expression. #1315
  • Fix a bug that 'line-trim-offset' calculation did not property cover 'round' or 'square' line cap in line ends. #1315
  • Dispatched in-flight events will not be delivered if 'unsubscribe' is called before an event is delivered. #1315
  • Fix an issue where some of the visible tiles could be erroneously culled during transition between globe and mercator projection. #1315
  • Fixes issues where camera appears under terrain, or map gets bumpy repositioning after exaggeration change. #1315
  • Disable terrain rendering if GPU does not support Vertex Texture Fetch. #1315
  • Fixed a bug that occasionally prevents symbols from loading. #1315
  • Fixed a bug that causes line layers to flicker. #1325
  • Fix NaN latitude native crash rarely happening during MapboxMap.flyTo. (#1271)
  • Limit MapboxMap.pixelForCoordinate to the bounds of MapView. (#1226)
  • Fix PolygonAnnotation and PolylineAnnotation being distorted while dragging with 3D terrain. (#1223)

Dependencies

  • Bump gl-native to v10.5.1, mapbox-common to v21.3.1 (#1315, #1325)

android-v10.4.3

27 Apr 15:10
41ab43c
Compare
Choose a tag to compare

10.4.3 April 27, 2022

Bug fixes 🐞

  • Fix render tasks being skipped when creating the map that could lead to missing tiles. (#1304)

android-v10.5.0-rc.1

20 Apr 15:17
6218efe
Compare
Choose a tag to compare
android-v10.5.0-rc.1 Pre-release
Pre-release

10.5.0-rc.1 April 20, 2022

Features ✨ and improvements 🏁

  • Refactor all Mapbox logs so that Logcat tag will always be 'Mapbox' allowing easier filtering. Previous log tag will become part of the log message now. (#1276)
  • Avoid repeated tile loading from network (or repeated tile decompression when the tile is fetched from the cache database) and repeated vector tile data allocation and parsing when loading render tiles referring to the same logical tile. (#1282)
  • Switch to use shader to calculate the 'line-trim-offset' property update. (#1282)

Bug fixes 🐞

  • Fix issue where internal hsla() function was converted to an invalid rgba expression. (#1282)
  • Fix a bug that 'line-trim-offset' calculation did not property cover 'round' or 'square' line cap in line ends. (#1282)
  • Fix NaN latitude native crash rarely happening during MapboxMap#flyTo. (#1271)
  • Limit MapboxMap#pixelForCoordinate to the bounds of MapView. (#1226)

Dependencies

  • Bump gl-native to v10.5.0-rc.1, mapbox-common to v21.3.0-rc.2. (#1282)

android-v10.4.2

13 Apr 18:44
592e1e0
Compare
Choose a tag to compare

Bug fixes 🐞

  • [tile store] Correctly decode compressed content if loaded from the cache. (#1279)
  • [tile store] Fixed issue that prevented data blobs larger than 1 MB to be transferred via the service. (#1279)

Dependencies

  • Bump common to v21.2.1 (#1279)

extension-androidauto-v0.1.0

07 Apr 18:49
648575b
Compare
Choose a tag to compare

0.1.0 April 7, 2022

Features ✨ and improvements 🏁

  • Add MapboxCarMap. Constructing this object will add mapbox map to the head unit. (#1004)
  • Add MapboxCarMapObserver and MapboxCarMapSurface which allows you to build customizations for the MapboxMap. (#1004)
  • Add MapboxCarMapGestureHandler and DefaultMapboxCarMapGestureHandler for handling panning and zooming gestures. (#1159)
  • Add an example to the :android-auto-app: module, it includes a 3D location puck, and follows the car location. (#1004)
  • Show Mapbox Logo and a Compass in an example with the CarMapWidgets. The BitmapWidget is available starting with Maps v10.4.0. (#1004)

Dependencies

  • Android Auto car library androidx.car.app:app:1.1.+
  • Supports any version of Mapbox Maps 10.+

android-v10.4.1

07 Apr 09:37
06276d9
Compare
Choose a tag to compare

10.4.1 April 7, 2022

Bug fixes 🐞

  • Re-introduce the API to get the status of the existing offline regions, so that the clients can get the completion status and the local size of the existing legacy offline regions. (#1263)
  • Fix a bug that occasionally prevents symbols from loading. (#1263)

Dependencies

  • Bump gl-native to v10.4.2 (#1263)

android-v10.5.0-beta.1

07 Apr 12:34
cd940c0
Compare
Choose a tag to compare
Pre-release

10.5.0-beta.1 April 7, 2022

Breaking changes ⚠️

  • Experimental methods MapboxMap#setMapProjection / MapboxMap#getMapProjection are removed and should be replaced with StyleInterface#setProjection / StyleInterface#getProjection. Setting projection supports Style DSL as well. (#1255)

Features ✨ and improvements 🏁

  • Optimize how plugins handle settings changes. Call applySettings only when settings value changes. (#1189)
  • Add MapboxMap.isValid() and Style.isValid() methods. MapboxMap becomes invalid when MapView.onDestroy() is called. Style becomes invalid when MapView.onDestroy() is called or new style has been loaded. Accessing any method on invalid object will print an error log. Also unsubscribe map observers automatically when MapboxMap.onDestroy() is invoked. (1193) (1202 (1230) (1241))
  • Add MapboxMap#coordinateBoundsForCameraUnwrapped method for API consistency. (1222)
  • Add LocationIndicatorLayer.bearingTransition API to control transition of bearing property. (1207)
  • Add MapboxConcurrentGeometryModificationException with detailed information instead of ConcurrentModificationException that is thrown when GeoJson data is mutated. (1248)
  • Introduce line-trim-offset property for LineLayer. (1252)
  • Deprecate FollowPuckViewportStateOptions.animationDurationMs, the initial transition will be handled properly by the Viewport plugin internally. (1256, 1261, 1262)
  • Mark MapView#viewAnnotationManager as non-experimental meaning View Annotation API will not have breaking changes in upcoming minor releases. (1260)
  • Map render call optimized further by further reducing computational overhead. (#1244)
  • Layer properties transitions performance improved if the layer is transitioning to the same constant value or if transitioning from/to data-driven property. (#1244)
  • New line layer paint property introduced: '{"line-trim-offset", [trim-start, trim-end]}', to take the line trim-off percentage range based on the whole line range [0.0, 1.0]. The property will only be effective when 'line-gradient' property is set. The line part between [trim-start, trim-end] will be marked as transparent to make a line gradient a vanishing effect. If either 'trim-start' or 'trim-end' offset is out of valid range, the default range [0.0, 0.0] will be set. (#1244)
  • Globe view controls revamped for more intuitive interaction with touch controls. (#1244)
  • OfflineRegion::getStatus() API added to get the completion status and the local size of the existing legacy offline regions. (#1244)
  • Automatic transition between the globe and mercator projection updated to appear visually more subtle. (#1244)

Bug fixes 🐞

  • Dispatched in-flight events will not be delivered if 'unsubscribe' is called before an event is delivered. (#1244)
  • Transitions between globe and mercator projection do not cull tiles incorrectly anymore. (#1244)
  • Map LOD disabled for camera pitch less than 30 degrees to avoid map content missing on maps with insets. (#1244)
  • Terrain-related camera issues fixed, previously making it appear under terrain, or incorrectly repositioned after exaggeration change. (#1244)
  • Terrain rendering disabled on GPUs not supporting Vertex Texture Fetch. (#1244)
  • Fixed a bug that occasionally prevented symbols from loading. (#1244)
  • Fix PolygonAnnotation and PolylineAnnotation being distorted while dragging with 3D terrain. (#1223)

Dependencies

  • Bump gl-native to v10.5.0-beta.1, mapbox-common to v21.3.0-beta.2. (#1244)