android-v10.0.0-rc.1
Pre-release
Pre-release
·
1447 commits
to main
since this release
10.0.0-rc.1 June 10, 2021
The Mapbox Maps SDK for Android has moved to release candidate status and is now ready for production use.
Breaking changes ⚠️
- Rename setter for
Light
object fromadd
toset
. This matches API from GL-JS and clarifies there is only 1 Light object. (#387) - Rename setter for
Terrain
object fromadd
toset
. (#391) - Remove
CacheManager
. In the following releases, an API to control temporary map data may be provided. (#399) - Remove
ResourceOptions::cacheSize
andDefaultAmbientCacheSize
constant. (#399) - Replace
ResourceOptions::cachePath
withResourceOptions::dataPath
that accepts a folder in which the map stores offline style packages and temporary map data. (#399) - Rename
TileStore::getInstance()
toTileStore::create()
. (#399) - Remove the
MapView#setRenderCache
andMapSurface#setRenderCache
API and replaced them with experimentalMapboxMap#setRenderCacheOptions
andMapboxMap#getRenderCacheOptions
APIs. (#401) - Change the default
ResourceOptions#dataPath
to${context.filesDir.absolutePath}/.mapbox/map_data/
and the database name fromambient_cache.db
tomap_data.db
. (#403)
Features ✨ and improvements 🏁
- The amount of the unique maps tile packs used in the offline regions is capped by the maximum amount equal to 750. The tile region loading is not be performed if it would cause exceeding of the tile pack limit. (#399)
Bug fixes 🐞
- Fix a typo in
MapboxMapUtils
jvm name. (#396) - Fix an issue that vertical text was not positioned correctly if the
text-offset
property was used. (#399) - Emit
MapLoadingError
when an empty token is provided for accessing Mapbox data sources. Before the fix, the application may crash if an empty token was provided and map tries to load data from Mapbox data source. (#399) - Create folder structure for provided
ResourceOptions#dataPath
when a provided folder doesn't exist. Before the fix, map expected the folder to exist, and in case it didn't, it was difficult to report an error to the application. (#399) - Do not emit
MapLoadingError
when an empty URL is set to GeoJSON source. (#399) - Avoid packaging
gms-play-services-location
by default as part of the Android SDK. (#399) - Fix an issue that causes public resource definitions not generated in public.txt file. (#404)
Dependencies
- Bump gl-native to v10.0.0-rc.1, common to v14.0.1 (#399)