Replies: 1 comment
-
|
You're reading the MapLibre Android documentation but using the MapLibre Compose library. The API is quite different. Updating data in a map composition works just like updating anything in Compose UI; create some |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I’m just starting out with Kotlin and MapLibre and I’m having trouble getting my map to refresh automatically every minute. Below is the code I currently have for creating the map:
I read in the Using a GeoJSON Source guide that I can use the setGeoJson() method to update the source, but I’m not sure where to call this method or how to obtain a reference to the MapLibreMap (or its Style) from within my composable.
Any guidance or sample code that shows how to:
would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions