Skip to content

Releases: maplibre/maplibre-compose

v0.11.1

06 Sep 07:05
2b368f6
Compare
Choose a tag to compare
  • Windows: Fix loading dll for maplibre-native-bindings-jni

v0.11.0

06 Sep 01:54
6167afb
Compare
Choose a tag to compare

NOTE: This release has widespread breaking changes from v0.10. Read the change log carefully.

New maven coordinates and desktop setup instructions can be found in the getting started documentation.

Breaking changes

  • Maven coordinates have been changed, replacing dev.sargunv.maplibre-compose with org.maplibre.compose.
  • To match, package names have been changed from dev.sargunv.… to org.maplibre.… and the package organization has changed significantly.
    • I recommend removing all dev.sargunv.… imports and using an IDE to help you find the new imports.
  • The desktop implementation has been rewritten, eliminating the old MapLibre-JS-in-webview based implementation with MapLibre Native.
    • If you use the desktop target, you'll need to remove the KCEF setup from your build and add the natives for your platform(s).
    • Supported functionality on desktop is still quite minimal. Future releases will build on this.
    • Linux support is implemented, but doesn't quite work yet. See #564.

Other changes

  • Updated many libraries, notably MapLibre Android to v11.13.
    • Did not update MapLibre iOS to v6.18 because of #551
  • Fixed a crash when using zoom interpolation with textSize.

Full Changelog: v0.10.4...v0.11.0

v0.10.4

25 Jul 21:19
6c61453
Compare
Choose a tag to compare

What's Changed

  • android: fix camera animation halting on certain recompositions by @sargunv in #520

Full Changelog: v0.10.3...v0.10.4

v0.10.3

24 Jul 07:57
8a2119e
Compare
Choose a tag to compare

What's Changed

  • ios: fix additional unnecessary reinitializations of the map by @sargunv in #516
  • ios: fix camera animation halting on certain recompositions by @sargunv in #517 and #518

Full Changelog: v0.10.2...v0.10.3

v0.10.2

22 Jul 07:17
25e3e6f
Compare
Choose a tag to compare

What's Changed

  • ios: fix unnecessary reinitialization of map due to recomposition by @sargunv in #507
  • implement clusterMinPoints on Android and iOS by @westnordost in #511

Full Changelog: v0.10.1...v0.10.2

v0.10.1

10 Jul 21:12
e0d2656
Compare
Choose a tag to compare

What's Changed

  • (breaking) fix get base source crashes by @sargunv in #501

Full Changelog: v0.10.0...v0.10.1

v0.10.0

10 Jul 07:53
be8baae
Compare
Choose a tag to compare

Breaking changes

  • Support raw json base styles by @sargunv in #462
    • MapLibreMap(styleUri = "..") is now MapLibreMap(baseUrl = BaseStyle.Uri(".."))
  • Auto assign source IDs to fix a common crash by @sargunv in #497
    • all the remember*Source() functions no longer take an id parameter.
  • Correct iconPadding type: It is a DpPaddingValue by @westnordost in #471

Other changes

Documentation changes

New Contributors

Full Changelog: v0.9.1...v0.10.0

v0.9.1

16 Jun 09:40
f595fb2
Compare
Choose a tag to compare

What's Changed

  • default text link style for attribution button by @sargunv in #436
  • fix programmatic vector source crashing on ios by @sargunv in #437
  • fix programmatic vector source not correctly handling Compose resources by @sargunv in #438

Full Changelog: v0.9.0...v0.9.1

v0.9.0

14 Jun 06:48
78e6053
Compare
Choose a tag to compare

Breaking

  • Remove StyleState.getSource(id: String), and instead make StyleState.sources a map of id to Source (#379, @sargunv)
  • Change the rememberGeoJsonSource to wrap the data in a new GeoJsonData sealed interface (#411, @michalgwo)
  • Change Source to expose attribution text as an HTML string instead of a List (#426, @sargunv) to fix some bugs with the expanding attribution button
  • Overhauled gesture, ornament, debug, and framerate settings into the new platform-specific MapOptions object (#428, @sargunv)
    • If you're configuring these beyond our presets, you'll need to work with this in expect/actual code. This is more inconvenient to use, but allows our API to be more correct and granular for each platform.

Features

  • Add support for managing offline map data on Android and iOS (#386, @sargunv)
  • Add support for customizing the home orientation of the compass button (#394, @sargunv)
  • Add support for passing data to a GeoJsonSource directly as a JSON string (#411, @michalgwo)
  • Add i18n strings for the material3 compass (#421, @westnordost)
  • Update the expanding attribution button to show the full attribution content instead of just links (#426), and not break lines within a single attribution (#427) (@sargunv)
  • Android: Make the map's foreground load color configurable, and default to transparent instead of light gray to prevent a light flash on dark mode (#428, @sargunv)

Fixes

  • Fixed an issue with the PointerPin not updating correctly with infrequently updated Positions (#395, @sargunv)
  • Locale-aware number formatting in material3 scale bar (#419, @westnordost)
  • Fixed an issue with how ornament padding is applied on iOS when any insets have been consumed (#432, @sargunv)

Documentation

New Contributors

Full Changelog: v0.8.2...v0.9.0

v0.8.2

27 May 22:28
756fda7
Compare
Choose a tag to compare
  • Fix crashing on iOS when rotating the device with a map that updates the style rapidly (@sargunv: #378) (thanks @michalgwo for catching this!)