I've just released v0.9.0 of MapLibre Compose, a library for adding interactive vector maps to your Compose Multiplatform apps.
Highlights of this release:
• Support downloading regions of the map to view offline
• Overhaul the gesture and ornament settings API to account for differences between platforms
• Bunch of bug fixes, including the attribution bar crash on older iOS versions
• Internally, switch from Cocoapods to Swift Package Manager
• And more, including i18n improvements and other API tweaks
kodee loving 2
metal 2
❤️ 13
j
John O'Reilly
06/14/2025, 3:28 PM
Hi, I might be missing something basic but are there any examples of adding markers (based on lat/long) to map at runtime?
s
Sargun Vohra
06/14/2025, 6:59 PM
Yeah, you can check out the demo app for sample code of adding map layers
j
John O'Reilly
06/14/2025, 7:35 PM
Thanks, I'll take a look again...I probably missed something (looking btw specifically at adding locations at runtime)
d
Dumitru Preguza
06/15/2025, 10:08 AM
@Sargun Vohra Hi, thanks for the update. I have a generic question not related to this release, is there a way to handle the onClick event on any places on the map ( 🛒QFC; 🍴Ooink Ramen; etc) - for example could onClick event open a custom modal or do something else?