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

android-v9.1.0

Compare
Choose a tag to compare
@Chaoba Chaoba released this 07 Apr 11:26
6fa29ce

Changes since Mapbox Maps SDK for Android v9.0.0:

Features

  • Added within expression for testing whether an evaluated feature lies within a given GeoJSON object. within accepts Feature, FeatureCollection, Polygon, and MultiPolygon as valid GeoJSON objects. (#198)
  • Added in expression for testing whether an item exists in an array or a substring exists in a string. (#171)
  • Introduced APIs and callbacks for customizing the style used in a MapSnapshotter snapshotter with runtime styling methods. (#268, #292)
  • Added methods to set and get the sort key of features in a FillLayer and LineLayer at runtime. Features with a higher sort key will appear above features with a lower sort key. (#209)
  • Introduced MapboxMap.setMaxPitchPreference and MapboxMap.setMinPitchPreference to constrain a map's pitch. (#199)
  • Introduced ability to configure the zoom level(s) that tiles are prefetched from by Source. This overrides the tile prefetch setting defined by the Map instance. (#184)

Performance improvements

  • Increased stability of label placement when the map is tilted. (#16287)
  • Improved the performance of loading a style that has many style images. (#16187)
  • Fixed a memory leak during zooming when MapboxMapOptions.debugActive is enabled. (#15179, fixed by #15395)

Bug fixes

  • Downloaded offline packs no longer reduce the storage space available for ambient caching of tiles and other resources. (#15622)
  • Fixed conversion of a Map object into a GeoJSON object. (#16243)
  • Fixed issues that would cause an offline region to stop downloading before completion. (#16230, #16240)
  • Fixed an issue where a LineDasharray value of [1, 0] resulted in hairline gaps. (#16202)
  • Fixed Proguard configuration to prevent obfuscation of telemetry event classes. (#306)
  • Fixed a crash that might occur during EGL window surface creation. (#278)
  • Fixed a bug that would cause local CJK glyphs to be rendered incorrectly when generated on a device with the high-contrast accessibility setting enabled. (#289)

Other changes

  • Updated mapbox-events-android to v5.0.0. (#294)