New
v0.12.0
Breaking changes
- @sargunv Upgraded to the latest version of Spatial-K, which significantly overhauls the GeoJson API. See the release notes for details.
- NOTE: Spatial-K now supports any Serializable type for feature properties, but MapLibre Compose currently only supports JsonObject or other non-generic Serializable classes. This will be improved in the future.
- @sargunv Fixed the incorrect name of
rememberComputedSource(wasrememberGeoJsonSource) - @sargunv Fixed the
lineProgress()expression signature (it does not have parameters)` - Updated Kotlin and Compose versions
Features
- @kodebach Added a location engine and location puck on Android and iOS
- @kodebach Added a new module, maplibre-compose-gms, to support Google location services on Android
- @jgillich Added RasterDemSource to support HillshadeLayer on Android and iOS
- @sargunv Added support for stretchable images in the layer styling DSL on Android and iOS
- @sargunv Added support for configuring gestures on desktop
- @sargunv Added support for detecting map clicks on desktop
- @sargunv Added support for manipulating the camera position on desktop
- @sargunv Added support for reading the camera state on desktop (except
isCameraMoving) - @sargunv Added support for projecting between screen / world positions on desktop
- @sargunv Added support for render stats on desktop
- @tronto20 Added partial support for Compose resource URIs on desktop
- @kodebach Added some additional preset gesture options: PositionLocked, RotationLocked, and ZoomOnly
- @sargunv Added a placeholder (grey box) for the map in
@Previewmode (instead of crashing)
Fixes
- @sargunv Fixed the
switchexpression not working when zero cases were provided - @sargunv Fixed the map not being disposed properly on desktop
- @sargunv Fixed the map persisting after being removed on macOS
- @sargunv Fixed the map desyncing from its correct position when resizing the window vertically on macOS
Documentation
- @louwers Added a logo to the readme
- @sargunv Added a new roadmap page to the documentation site
- @sargunv Fixed API reference not available for the main module
- @sargunv Corrected desktop setup instructions on the getting started guide
- @DestBro Clarified iOS setup instructions on the getting started guide
- @kodebach Added location engine demos to the demo app
- @sargunv Added some other demos to the demo app