Starting this release, the Mapbox Maps SDK for Android will use a pre-built GL Native binary licensed under the Mapbox Terms of Service. The license of the Maps SDK for Android remains BSD-2. For more information on using this and future releases, see. For more details on licensing, see LICENSE.md.
Release v9.3.0 updates the Mapbox Maps SDK for Android to use a pre-built GL Native binary rather than building from source as a submodule dependency. GL Native is changing some of its development workflows to build some Mapbox platform-specific features internally, similar to Chrome/Chromium development. Please refer to the README.md and/or DEVELOPING.md for guidance.
License update for Mapbox builds of GL Native.
Starting today, new binary releases of GL Native are licensed under the Mapbox Terms of Service. The Mapbox Maps SDKs repos will continue to be public and licensed under BSD-2.If you have any questions about how this change may impact your use of the Maps SDK, please don’t hesitate to reach out to Mapbox Support to connect with the Mapbox mobile team.
Improvements and bug fixes
- Added exception-free GLSurfaceView implementation. (#402)
- Added exception-free Android map renderer. (#411)
- Clarified the error message when an HTTP request has been cancelled. (#433)
- Fixed a memory leak that would occur when a source was removed. (#412)
- Fixed a bug that would halt the application during a scheduled snapshot when the map renderer was stopped. (#390
- Avoid changing file source status when the cache path is changed. (#457)
- Avoid null pointer exception when the underlying hardware is too slow to create the surface. (#471)
User location indicator
- Double-tapping the map when the camera is tracking the user location indicator now zooms to the
LocationComponent
's location. (#378) - Improved camera rotation to use the shortest path. (#426)
- Added support for using a background image on GPS mode when
LocationComponentActivationOptions#useSpecializedLocationLayer
is activated . (#439) - Fixed a bug where an in-progress animation of an updating
LocationComponent
would be interrupted when a style was changed. (#437) - Updated documentation to reflect that the
FOREGROUND_LAYER
constant is usable for relative positioning in both normal and specialized rendering modes. #413 - Set GPS bearing immediately when changing the indicator to GPS mode. (#470)