Skip to content

Update maplibre-compose to 0.13.0 and adapt location APIs#906

Merged
ianthetechie merged 2 commits into
stadiamaps:mainfrom
klemensz:maplibre-compose-0-13-0
May 27, 2026
Merged

Update maplibre-compose to 0.13.0 and adapt location APIs#906
ianthetechie merged 2 commits into
stadiamaps:mainfrom
klemensz:maplibre-compose-0-13-0

Conversation

@klemensz

Copy link
Copy Markdown
Contributor

Summary

  • Update maplibre-compose to 0.13.0
  • Adapt Ferrostar MapLibre location handling to the new typed Location API
  • Update camera and puck bearing handling to convert SpatialK Bearing values back to degree values used internally
  • Add coverage for bearing conversion near the north wrap-around boundary

Testing

  • GRADLE_USER_HOME=./.gradle ./gradlew :ui-maplibre:testDebugUnitTest
  • GRADLE_USER_HOME=./.gradle ./gradlew :ui-maplibre:ktfmtCheck

Notes

MapLibre Compose 0.13.0 replaces flat location fields such as bearing and position with typed SpatialK-backed values.
This PR keeps Ferrostar's existing camera and puck APIs in degrees while adapting the MapLibre integration layer.

@ianthetechie
ianthetechie merged commit f30276b into stadiamaps:main May 27, 2026
14 checks passed
@klemensz
klemensz deleted the maplibre-compose-0-13-0 branch June 1, 2026 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants