Releases: maplibre/maplibre-compose
Releases · maplibre/maplibre-compose
v0.11.1
v0.11.0
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
withorg.maplibre.compose
. - To match, package names have been changed from
dev.sargunv.…
toorg.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.
- I recommend removing all
- 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
v0.10.3
v0.10.2
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
v0.10.0
Breaking changes
- Support raw json base styles by @sargunv in #462
MapLibreMap(styleUri = "..")
is nowMapLibreMap(baseUrl = BaseStyle.Uri(".."))
- Auto assign source IDs to fix a common crash by @sargunv in #497
- all the
remember*Source()
functions no longer take anid
parameter.
- all the
- Correct iconPadding type: It is a DpPaddingValue by @westnordost in #471
Other changes
- Added ImageSource by @andreas-umbricht in #457
- Added ComputedSource by @sargunv in #456
- Exposed finished and failed map loading callbacks by @andreas-umbricht in #470
- Added camera bounding box by @andreas-umbricht in #469
- Filled out some gaps in the expressions DSL:
- Added translation of "map attribution" to 19 languages, most from Europe by @westnordost in #493
- Bumped many dependency versions
Documentation changes
- Expression function cheatsheet by @westnordost in #450
- Update CONTRIBUTING.md by @sargunv in #444
- Partial overhaul of the demo app
- extend docs for anchors by @westnordost in #445
New Contributors
- @andreas-umbricht made their first contribution in #457
- @louwers made their first contribution in #490
Full Changelog: v0.9.1...v0.10.0
v0.9.1
v0.9.0
Breaking
- Remove
StyleState.getSource(id: String)
, and instead makeStyleState.sources
a map of id to Source (#379, @sargunv) - Change the
rememberGeoJsonSource
to wrap the data in a newGeoJsonData
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.
- If you're configuring these beyond our presets, you'll need to work with this in
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
- Added a new user location demo (#395, @sargunv)
- Added instructions on using Swift Package Manager instead of Cocoapods (#410, @NielsMasdorp)
New Contributors
- @NielsMasdorp made their first contribution in #410
- @RubenKelevra made their first contribution in #414
Full Changelog: v0.8.2...v0.9.0