android-v10.0.0-rc.1
Pre-release
Pre-release
·
2215 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
Lightobject fromaddtoset. This matches API from GL-JS and clarifies there is only 1 Light object. (#387) - Rename setter for
Terrainobject fromaddtoset. (#391) - Remove
CacheManager. In the following releases, an API to control temporary map data may be provided. (#399) - Remove
ResourceOptions::cacheSizeandDefaultAmbientCacheSizeconstant. (#399) - Replace
ResourceOptions::cachePathwithResourceOptions::dataPaththat 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#setRenderCacheandMapSurface#setRenderCacheAPI and replaced them with experimentalMapboxMap#setRenderCacheOptionsandMapboxMap#getRenderCacheOptionsAPIs. (#401) - Change the default
ResourceOptions#dataPathto${context.filesDir.absolutePath}/.mapbox/map_data/and the database name fromambient_cache.dbtomap_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
MapboxMapUtilsjvm name. (#396) - Fix an issue that vertical text was not positioned correctly if the
text-offsetproperty was used. (#399) - Emit
MapLoadingErrorwhen 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#dataPathwhen 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
MapLoadingErrorwhen an empty URL is set to GeoJSON source. (#399) - Avoid packaging
gms-play-services-locationby 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)