Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

android-v9.2.0-beta.1

Pre-release
Pre-release

Choose a tag to compare

@chloekraw chloekraw released this 01 May 00:32
· 2 commits to release-water since this release
ee808fd

Changes since Mapbox Maps SDK for Android v9.2.0-alpha.1:

Features

  • Added the distance expression for calculating the shortest distance between an evaluated feature and a given GeoJSON object. (#339)
  • Introduced Source.setVolatile to disable ambient caching of tiles from a source. Use this option on transient sources, such as traffic tilesets, if not showing tiles from a source is preferable to showing outdated tiles should an update request fail. (#355)
  • Introduced Source.minimumTileUpdateInterval to override the expiration time set via HTTP headers with a longer expiration time on the client. (#355)

User location indicator

  • Introduced an activation option to render the LocationComponent with a dedicated OpenGL layer through LocationComponentActivationOptions#useSpecializedLocationLayer, instead of the combined symbol and circle layer implementation used by default. (#319)
  • Introduced an option to add an animated pulsing circle around the LocationComponent through LocationComponentOptions#pulseEnabled and methods to customize it. (#172)
  • Introduced an option to set a screen area through LocationComponentOptions#trackingMultiFingerProtectedMoveArea where executed gestures will avoid breaking camera tracking when LocationComponentOptions#trackingGesturesManagement is enabled. (#356)

Improvements and bug fixes

  • Improved the default compass engine's heading calculation by accounting for device orientation, ensuring accelerometer and magnetic field sensor events are retained, and pushing updates to the heading even if the sensor is unreliable. (#338)(h/t ystsoi)
  • Correctly call the onFling listener only when the velocity of a gesture meets the threshold to animate the camera. (#356)
  • Fixed a crash when changing the user interface in MapSnapshotter.ErrorHandler. (#347)