https://kotlinlang.org logo
Title
j

John O'Reilly

11/27/2021, 10:54 AM
What are people using for showing maps in Compose Desktop apps? I'm using Swing interop with https://github.com/msteiger/jxmapviewer2 library in BikeShare sample (https://github.com/joreilly/BikeShare) but I don't think experience is as good as it could/should be.
2
👀 3
o

olonho

11/28/2021, 9:35 AM
Probably the best option would be showing map tiles with Compose APIs and maybe create custom reusable component. I’d presume that combo of Compose, ktor client and coroutines would make writing map component relatively simple.
t

tibor

11/28/2021, 11:29 AM
Maybe this one could be ported to Compose Desktop . https://github.com/peterLaurence/MapCompose
👀 1