Releases: mapbox/mapbox-maps-android
Releases · mapbox/mapbox-maps-android
android-v10.0.0-beta.16
10.0.0-beta.16 - March 25, 2021
Breaking changes ⚠️
- Remove ModelLayer and ModelSource API (#128)
- Refactor Event API into new Observers. (#166)
- Bump minSdkVersion of the SDK to 21, and bumped okhttp dependency to v4.9.0. (#176)
- Rename jumpTo(options: CameraOptions) to setCamera(options: CameraOptions), rename setFreeCameraOptions (options: FreeCameraOptions) to setCamera(options: FreeCameraOptions). (#176)
- Rename OnMapLoadingFinishedListener to OnMapLoadedListener. (#176)
- Introduce OnStyleDataLoadedListener to replace OnStyleLoadingFinishedListener, and introduce OnSourceDataLoadedListener to replace OnSourceChangedListener. So that developers have granular control of style/source loading status. (#176)
- Introduce coordinateBoundsForCamera() API to replace the getRegion() API. (#176)
- Remove MapObserver from MapSurface's constructor. (#200)
Features ✨ and improvements 🏁
- [Annotation plugin] Add symbol cluster support (#122)
- [map] Make public API entry points as MapView and Snapshotter (#149)
- [plugins] Remove PluginRequirementException (#158)
- Use String protocol for passing GeoJSON data (#162)
- [Annotation plugin] Set default values for annotation option properties to null. (#173)
- [rendering] Schedule non-rendering tasks on Android's scheduler to improve render performance. (#176)
- [rendering] Query rendered features now work for fill-extrusions when terrain is enabled. (#176)
- [rendering] Improved terrain rendering performance due to reduction of loaded tiles. (#176)
- [doc] Change http link to markdown style in doc (#187)
- [rendering] Differentiate render tasks and non-render tasks (#192)
- [gestures] Introduce platform-driven drag API to move a map (#201)
Bug fixes 🐞
- [Annotation plugin] Implement MapStyleObserverPlugin to listen style load event to reload layer and source (#161)
- [gestures] Fix crash if zooming for SDK less than 23 (#171)
- Fix an issue that will result in map not rendering on a device with Ethernet connection. (#176)
- Fix the crash when running maps on the emulator. (#176)
- Patch scroll gesture with a pitched camera (#184)
- [locationcomponent] Fix jitter animations if interrupting animations (#185)
- [animation] Fix zero duration animators, fix medium-level animators to use only CameraAnimators (#198)
- [animations] Fix interpolation for flyTo (#202)
Dependencies
android-v10.0.0-beta.15
android-v10.0.0-beta.14
Breaking changes
- [map] Change signature of Map#getElevation from Float to Double #120
- [map] Fixed text-field strings are now returned as formatted expressions #120
- [annotation] Rename getAnnotationManger to createAnnotationManager #105
- [style] GeoJsonSource data property can't be empty #120
Features
- [location-component] Add isLocatedAt API to location component plugin #99
- [snapshot] Introduce interfaces for style events and snapshot result #124
- [annotation] Process anchor animators correctly #109
- [annotation] Limit adding style images multiple times for annotations #118
- [annotation] Add GeoJSONOptions configuration #79
- [annotation] Show all icons and text from annotation manager by default #115
- [animation] Add kotlin dsl builder for CameraOptions and java builders for CameraAnimatorOptions and MapAnimationOptions #90
- [map] Better use of Choreographer inside renderer resulting to smoother map animations #107
- [gestures] change default interpolator from Decelerate to LinearOutSlowIn #103
Bugs
- [compass] Hide the compass on startup when facing north #116
- [annotation] Change default value of text font for symbols to null #111
- [map] Remove renderStill from public API #104
- [style] Rename reference to style plugin and converting them to style extension #123
- [annotation] Expose collection of annotations as a List instead of Map #121
- [camera] Trigger map camera change updates immediately, Fix order of animation callbacks in camera animation plugin #125
Dependencies
android-v10.0.0-beta.13
Features
- [map] Expose FPS listener #80
- [annotation] Add convenience color int API #76
- [annotation] Add convenience bitmap API for symbols #67
- [annotation] Make getting annotation manager configurable #47
- [location] Improve the default location provider and improve handling of location updates #58
- [location] Add OnIndicatorPositionChangedListener and OnIndicatorBearingChangedListener #56
Bugs
- [map] allow getSourceAs returning null values, handle cast gracefully #88
- [animation] remove internal plugin singleton, support multi display maps #70
- [telemetry] correct versioning of BuildConfig #65
- [annotation] Fix offset array not working issue #60
- [plugin] make xml attribute parsers internal #81
Dependencies
android-v10.0.0-beta.12
Announcement
V10 is the latest version of the Mapbox Maps SDK for Android. v10 brings substantial performance improvements, new features like 3D terrain and a more powerful camera, modern technical foundations, and a better developer experience.
To get started with v10, please refer to our migration guide.
Known Issues
Style
- Currently there is no compile-time validation of the Style DSL, exceptions will be thrown in runtime.
Location
- Location component plugin is still under active development and the interfaces are subject to change.
3D Terrain
- 3D Terrain is in an experimental state
- 3D Terrain crashes on specific GPU hardware:
- Qualcomm Adreno 640
Other
- Annotation plugin is not feature complete with the old implementation
- Restricting the map to a bounds that includes the antemeridian will result in an invalid jump to the left side of the bounds.
- Known deficiencies with max and min zoom map properties
- An invalid LatLng conversion can occur and produce a native crash
- Native crash when resuming the map in specific situations
- Native crash when performing a camera transition using Map#jumpTo