android-v11.0.0
The rendering internals of MapLibre Native have undergone major changes. We've had an extensive period of pre-releases leading up to this official release. While we've worked hard to minimize potential issues, it's possible that there may still be regressions. Therefore, it's important to do your own testing and report any encountered issues on GitHub.
This release uses OpenGL ES 3.0. As a result, some older devices are no longer supported. If you require compatibility with devices that do not support OpenGL ES 3.0, it's recommended to continue using the 10.x.x release series.
✨ Features and improvements
-
Add support for custom
ModuleProvider
implementations (#2231) -
Allow setting padding when camera is tracking (#2165).
-
Update user agent from Mapbox to MapLibreNative.
-
💥 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).