Releases: mapbox/mapbox-maps-android
Releases · mapbox/mapbox-maps-android
v10.10.0-beta.1
10.10.0-beta.1 November 03, 2022
Features ✨ and improvements 🏁
- Introduce view annotation
ViewAnnotationManager.annotations
API to access list of added view annotations. (1751) - Introduce view annotation
ViewAnnotationManager.cameraForAnnotations
API to get camera options for given view annotations list. (1753) - Eliminate tiles re-creation and re-layout on zooming map with globe, when the camera is trespassing the zoom projection border. (1791)
- Avoid tiles re-layout on enabling terrain with zero exaggeration. (1791)
- Asynchronous GeoJSON data parsing when adding a new style source. (1791)
- Unify the
margin
/translation
Widget
APIs into theWidgetPosition.offset
, renameWidgetPosition.horizontal
/WidgetPosition.vertical
toWidgetPosition.horizontalAlignment
/WidgetPosition.verticalAlignment
; Deprecate the original constructors andsetTranslation
APIs. (1782) - Add APIs to enable/disable rendering of world copies. (1794, 1791)
Bug fixes 🐞
- Fix an issue when touch events didn't pass through clickable view annotations. (1745)
- Handle OOB when getting DEM Data. (1791)
- Fix a rare precision issue with symbol and circle layer occlusion when terrain is enabled. (1791)
- Fixes a rare crash caused by a race condition during gesture handling. (1791)
- Disable location indicator occlusion testing with the terrain when exaggeration is set to 0. This fixes occasional location indicator disappearance. (1791)
- Exclude map disk cache files from cloud backups. (1791)
Dependencies
- Update gl-native to v10.10.0-beta.1 and common to v23.2.0-beta.1. (1791)
v10.9.0
10.9.0 October 21, 2022
Features ✨ and improvements 🏁
- Rendering performance improvements for fast paced camera changes. (1760)
- Eliminate tiles re-creation and re-layout on zooming map with globe, when the camera is trespassing the zoom projection border. (1729)
- Deprecate gesture settings
increaseRotateThresholdWhenPinchingToZoom
property. (1632) - Enable asynchronous tile uploader by default to improve animation performance. (1679)
- Vector tiles without symbols are not hold for fade-out animation so that less amount of vector tiles are managed at a time. (1679)
- Add support to set location puck opacity. (1659)
- Support
pitch
anddistanceFromCenter
filters in symbol layers. (1662) - Migrate telemetry APIs from mobile-events-android to common SDK implementation. (1672)
Bug fixes 🐞
- Fix frequent layout invalidation caused by view annotations calling
View.bringToFront()
. (1744) - Fix flickering of vertically shifted line labels on style change, caused by the wrong initial placement. (1760)
- Fix location indicator rendering as a rectangle on low zoom levels. (1760)
- Fix crash caused by using of invalid paint property binders. (1760)
- Fix "phantom tiles" artefacts after GeoJSON source update when asynchronous tile loading is enabled. (1760)
- Fix a bug in cameraForGeometry when called on a map with padding set. (1760)
- Fix scale bar text being cut. (1716)
- Fix possible crash when adding terrain using Style DSL after consecutive style changes. (1717)
- Fix scale bar text overlapping. (1728)
- Fix issue where
Widget
is not immediately rendered when added to theMapView
. (1708) - Mitigate symbol flickering on zooming out globe map. (1729)
- Fix random crash on tiles update when asynchronous uploading is enabled. (1729)
- Make telemetry a single instance. Avoids module recreation when coming from background. (#1695)
- Fix scale bar truncated at high zoom levels near the poles. (1620)
- Fix broken view annotation positioning when marking them
View.INVISIBLE
and then makingView.VISIBLE
. (1616) - Snap puck to north if
puckBearingEnabled
is set to false. (1635) - Preserve cached properties if applied to the layer before during the
Style#getLayer
call. (1622) - Fix a
NullPointerException
inStandardGestureListener
, whereMotionEvent
should be nullable. (1645), (1677) - Fix incorrect
MapView
dimensions after background orientation change. (1658) - Fix wrong
BitmapWidget
position when usingWidgetPosition.Horizontal.CENTER
orWidgetPosition.Vertical.CENTER
property. (1651) - Fix pixel flickering between tiles on darker styles in globe view. (1679)
- Fix incorrect shading of rounded corners in fill extrusions when ambient occlusion and/or shadow is enabled. (1679)
- Fix shadows when the light radial coordinate is zero. (1679)
- Location indicator layer is occluded by terrain to align rendering behavior with other location indicator rendering types. (1679)
- Symbol flickering after runtime styling caused by using outdated symbol placement on updated symbol buckets. (1679)
- Allow Light intensity and Light shadow intensity to accept expressions when using setStyleLight API call. (1679)
- Fix a bug in
cameraForGeometry
when called on a map with padding set. (1679) - Throw an exception with the meaningful stack trace when constructing
Value
from an infinite or NaN number. (1681)
Dependencies
v10.9.0-rc.1
10.9.0-rc.1 October 07, 2022
Features ✨ and improvements 🏁
- Eliminate tiles re-creation and re-layout on zooming map with globe, when the camera is trespassing the zoom projection border. (1729)
Bug fixes 🐞
- Fix scale bar text being cut. (1716)
- Fix possible crash when adding terrain using Style DSL after consecutive style changes. (1717)
- Fix scale bar text overlapping. (1728)
- Fix issue where
Widget
is not immediately rendered when added to theMapView
. (1708) - Fix "phantom tiles" artefacts after GeoJSON source update when asynchronous tile loading is enabled. (1729)
- Mitigate symbol flickering on zooming out globe map. (1729)
- Fix random crash on tiles update when asynchronous uploading is enabled. (1729)
- Fix a crash when Google location service is started in background but stopped in foreground. (1729)
- Fix an issue where mock field is missing from the LocationEngine updates. (1729)
Dependencies
- Update gl-native to v10.9.0-rc.1 and common to v23.1.0-rc.2. (1729)
v10.8.1
10.8.1 September 30, 2022
Bug fixes 🐞
- Fix incorrect
MapView
dimensions after background orientation change. (1658) - Throw an exception with the meaningful stacktrace when constructing
Value
from an infinite or NaN number. (1681) - Make telemetry a single instance. Avoids module recreation when coming from background. (#1695)
- Fix a potential style load error when non-ASCII characters are used in the version name, by escaping non US ASCII characters in user-agent header. (1709)
Dependencies
- Bump common to v23.0.1. (1709)
v10.9.0-beta.2
10.9.0-beta.2 September 28, 2022
Bug fixes 🐞
- Make telemetry a single instance. Avoids module recreation when coming from background. (#1695)
- Fix an issue where location engine doesn't produce bearing/accuracy/speed information with the location updates. (1696)
Dependencies
- Bump common sdk to v23.1.0-beta.2. (1696)
extension-androidauto-v0.3.0
0.3.0 September 26, 2022
Features ✨ and improvements 🏁
- Allow
MapboxCarMap
to be initialized before theCarContext
is created. (#1603) - Add
MapboxCarMapSessionInstaller
andMapboxCarMapScreenInstaller
for simpler setup. (#1603) - Add
Session.mapboxMapInstaller
andScreen.mapboxMapInstaller
extension functions to create the installers. (#1603) - Change
MapboxCarMapGestureHandler
to a java interface so default methods can be added without breaking java backwards compatibility. (#1670) - Change
MapboxCarMapObserver
to a java interface so default methods can be added without breaking java backwards compatibility. (#1670) - Change
MapboxCarMap#getEdgeInsets()
tomapboxCarMap.getVisibleEdgeInsets()
with the addition ofmapboxCarMap.getStableEdgeInsets()
. (#1670) - Add
MapboxCarMapObserver#onStableAreaChanged
to support all the available functions from the SurfaceCallback. (#1670) - Add support for intercepting the
SurfaceCallback#onClick
when usingMapboxCarMap.prepareSurfaceCallback
. (#1683)
Dependencies
- Android Auto car library
androidx.car.app:app:1.1.+
- Supports any version of Mapbox Maps 10.+
v10.9.0-beta.1
10.9.0-beta.1 September 22, 2022
Features ✨ and improvements 🏁
- Deprecated gesture settings
increaseRotateThresholdWhenPinchingToZoom
property. (1632) - Enable asynchronous tile uploader by default to improve animation performance. (1679)
- Vector tiles without symbols are not hold for fade-out animation so that less amount of vector tiles are managed at a time. (1679)
- Add support to set location puck opacity. (1659)
- Support
pitch
anddistanceFromCenter
filters in symbol layers. (1662) - Migrated telemetry APIs from mobile-events-android to common SDK implementation. (1672)
Bug fixes 🐞
- Fix scale bar truncated at high zoom levels near the poles. (1620)
- Fix broken view annotation positioning when marking them
View.INVISIBLE
and then makingView.VISIBLE
. (1616) - Snap puck to north if
puckBearingEnabled
is set to false. (1635) - Preserve cached properties if applied to the layer before during the
Style#getLayer
call. (1622) - Fix a
NullPointerException
inStandardGestureListener
, whereMotionEvent
should be nullable. (1645), (1677) - Fix incorrect
MapView
dimensions after background orientation change. (1658) - Fix wrong
BitmapWidget
position when usingWidgetPosition.Horizontal.CENTER
orWidgetPosition.Vertical.CENTER
property. (1651) - Fix pixel flickering between tiles on darker styles in globe view. (1679)
- Location indicator layer is occluded by terrain to align rendering behavior with other location indicator rendering types. (1679)
- Symbol flickering after runtime styling caused by using outdated symbol placement on updated symbol buckets. (1679)
- Fix a bug in
cameraForGeometry
when called on a map with padding set. (1679) - Throw an exception with the meaningful stack trace when constructing
Value
from an infinite or NaN number. (1681)
Dependencies
v10.8.0
10.8.0 September 7, 2022
Features ✨ and improvements 🏁
- Introduce a callback to be invoked when the device compass sensors need to be re-calibrated. (1513)
- Add support for
LocationComponentSettingsInterface.pulsingMaxRadius
to follow location's accuracy radius. (1561) - Avoid map content disappearing on the sides of the screen when LOD is enabled. (1650)
Bug fixes 🐞
- Support altitude interpolation in location component, and pass through GPS altitude information from the DefaultLocationProvider. (1478)
- Fix edge cases for renderer that could result in map not rendered. (1538)
- Fix onAnnotationDragStarted event is still fired when annotation is not draggable. (1552)
- Fix camera flying away when pitching. (1560)
- Deliver style to the plugin registry on map start if a new one was loaded after map stop. (1558)
- Fix default viewport bearing transition doesn't follow shortest path. (1541)
- Fix
OnFpsChangedListener
listener to count number of frames rendered over the last second instead of immediate time for render call. (1477) - Fix
MapView.setMaximumFps
method to apply exact FPS value for rendering the map. (1477) - Fix Android memory leak when destroying platform view annotation manager. (1568)
- Fix style getters for terrain, light and atmosphere resetting properties. (1573)
- Fix possible ANR when destroying renderer. (1567)
- Fix
MapSurface#surfaceChanged
to update dimensions for plugins. (1575) - Try recreate EGL surface when it throws exception. (1589)
- Fix
MapboxMap
extension plugin functions throwing exceptions. (1591) - Fix concurrent modification exception when using widgets. (1597)
- User-specified minimum and maximum zoom now correctly adjusted for map size. (1650)
- Avoid placement of line labels with overlapping glyphs. Fix collision algorithm for the line labels with vertical shift. (1650)
- Fix flickering when a vector layer is added on top of a raster layer. (1650)
- Fix a rare case when black rectangles appear instead of the images of symbol layers. (1650)
- Fix tiles disappearing when high pitch is used and atmosphere is turned on and off. (1650)
- Fixes an issue which prevents the usage of tile cache when changing zoom levels. (1650)
- Relax LOD requirements for maps with insets and zero terrain exaggeration. (1650)
- Make CameraManager.setCamera method exception free. (1650)
- Fix black holes in the globe view when edge insets are used. (1650)
- Fix elevation of pole geometry when exaggerated terrain is used. (1650)
- Fix a bug in cameraForGeometry returning incorrect camera options when pitch > 0. (1650)
Dependencies
- Bump gl-native to v10.8.0, common to v23.0.0. (1650)
v10.8.0-rc.1
10.8.0-rc.1 August 24, 2022
Bug fixes 🐞
- Try recreate EGL surface when it throws exception. (1589)
- Fix
MapboxMap
extension plugin functions throwing exceptions. (1591) - Fix concurrent modification exception when using widgets. (1597)
- Relax LOD requirements for maps with insets and zero terrain exaggeration, leading to more content shown in easily readable map areas. (1623)
- Make CameraManager.setCamera method exception free. In cases when incorrect CameraOptions are provided, error would be logged. (1623)
- Fix black holes in the globe view when edge insets are used. (1623)
Dependencies
Bump gl-native to v10.8.0-rc.1 and common to v23.0.0-rc.2. (1623)
v10.8.0-beta.1
10.8.0-beta.1 August 11, 2022
Features ✨ and improvements 🏁
- Introduce a callback to be invoked when the device compass sensors need to be re-calibrated. (1513)
- Add support for
LocationComponentSettingsInterface.pulsingMaxRadius
to follow location's accuracy radius. (1561)
Bug fixes 🐞
- Support altitude interpolation in location component, and pass through GPS altitude information from the DefaultLocationProvider. (1478)
- Fix edge cases for renderer that could result in map not rendered. (1538)
- Fix onAnnotationDragStarted event is still fired when annotation is not draggable. (1552)
- Fix camera flying away when pitching. (1560)
- Deliver style to the plugin registry on map start if a new one was loaded after map stop. (1558)
- Fix default viewport bearing transition doesn't follow shortest path. (1541)
- Fix
OnFpsChangedListener
listener to count number of frames rendered over the last second instead of immediate time for render call. (1477) - Fix
MapView.setMaximumFps
method to apply exact FPS value for rendering the map. (1477) - Fix a bug in cameraForGeometry returning incorrect camera options when pitch > 0. (1568)
- Fix Android memory leak when destroying platform view annotation manager. (1568)
- Fix style getters for terrain, light and atmosphere resetting properties. (1573)
- Fix possible ANR when destroying renderer. (1567)
- Fix elevation of pole geometry when exaggerated terrain is used. (1574)
- Fix
MapSurface#surfaceChanged
to update dimensions for plugins. (1575)
Dependencies
Bump gl-native to v10.8.0-beta.2 and common to v23.0.0-beta.1. (1574, 1568)