Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using GoogleMap Android composable in Desktop #2784

Closed
JonasVautherin opened this issue Feb 22, 2023 · 7 comments
Closed

Using GoogleMap Android composable in Desktop #2784

JonasVautherin opened this issue Feb 22, 2023 · 7 comments
Labels
component enhancement New feature or request

Comments

@JonasVautherin
Copy link

Can Android elements like e.g. GoogleMap be used for a desktop app using compose-jb?

I am interested in what would make it Android-specific or not. Is it just the fact that it is packaged as an .aar, or is there something more fundamental?

@JonasVautherin JonasVautherin added the enhancement New feature or request label Feb 22, 2023
@kirill-grouchnikov
Copy link

From https://developers.google.com/maps/documentation/android-sdk/maps-compose#installation - a required dependency is com.google.android.gms:play-services-maps and that is not something that exists for Desktop.

@igordmn
Copy link
Collaborator

igordmn commented Feb 28, 2023

Yes, it should be ported.

Looking at the source code, it seems it is written from scratch on Compose, uses some Android API (like Location API) and, as Kirill mentioned, uses an Android library com.google.android.gms:play-services-maps (that communicates with Google Maps API probably). The Compose code itself can be easely ported, not sure about com.google.android.gms:play-services-maps.

@aabolfazl
Copy link

@igordmn Did you test that we can use Android components on the KMP desktop?

@cryptrr
Copy link

cryptrr commented Apr 26, 2024

Any updates?

@skillAndroid
Copy link

https://github.com/skillAndroid/openStreetMapComposeMultiplatform this is my Code pls look here for desktope Map for Compose Multiplatform and do not forget to put Starts thank you All )

@JonasVautherin
Copy link
Author

Closing because I am not interested anymore. Rather I am looking at MapLibre for Compose Multiplatform: maplibre/maplibre-native#2638.

@JonasVautherin JonasVautherin closed this as not planned Won't fix, can't repro, duplicate, stale Aug 17, 2024
@okushnikov
Copy link
Collaborator

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

@JetBrains JetBrains locked and limited conversation to collaborators Dec 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
component enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

7 participants