Anyone aware of ability to show map in Compose desktop app?
j
jim
11/05/2020, 10:14 AM
I assume you're talking about like a geographical map, right? It's an overloaded term in computer science 😛.
Compose for Desktop was officially just announced today, so I don't know of any such Composable implementations yet, but you could probably create a Composable binding to something like JXMapViewer.
j
John O'Reilly
11/05/2020, 10:15 AM
Yeah, geographical one 🙂. ok, thanks, will take a look at that
j
jim
11/05/2020, 10:20 AM
One other suggestion: Another possible place I might consider is using https://github.com/JetBrains/compose-jb/tree/master/cef to embed a web view, but I think that doesn't support Mac OSX yet, so maybe that is a non-starter depending on your use case and release date. But that would allow you to embed a web-based Google maps widget.