android-v11.0.0-pre0
Pre-release💥 Breaking: MapLibre Native for Android started requiring OpenGL ES 3.0 support in this version.
✨ Features and improvements
-
Add support for the
slice
expression (#1113) -
Add support for the
index-of
expression (#1113) -
Change to a more natural fling animation and allow setting
flingThreshold
andflingAnimationBaseTime
inUiSettings
(#963) -
💥 Breaking: Change package of all classes from
com.mapbox.mapboxsdk
toorg.maplibre.android
(#1201). This means you will need to fix your imports.To migrate:
In your imports in each of your project files, replacecom.mapbox.mapboxsdk.
withorg.maplibre.android.*
. -
💥 Breaking: Rename several classes to no longer contain the word "Mapbox". You will need to migrate by renaming references.
To migrate:
Each affected occurrence will be marked as an error during compilation. Replace each occurrence of "Mapbox" with "MapLibre" and let your IDE do the import.These are the most important classes that have been renamed:
Mapbox
→MapLibre
MapboxMap
→MapLibreMap
MapboxConstants
→MapLibreConstants
MapboxMapOptions
→MapLibreMapOptions
- but also others, less frequently used ones, like
MapboxGLSurfaceView
→MapLibreGLSurfaceView
.
🐞 Bug fixes
- Fix "... has unresolved theme attributes" error in BitMapUtils (#1274).