-
Notifications
You must be signed in to change notification settings - Fork 129
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
Define custom marker images with Composables #41
Comments
if were possible to load an url image would be amazing 🤩 |
IconGenerator from android-map-utils provides a recipe that looks helpful to take inspiration from, combined with |
@alexvanyo: I've proposed a pattern for this in #258. That PR adds it to Clustering markers, but I'm considering bringing the same approach to regular Markers as well (a Composable content arg instead of a BitmapDescriptor). Would greatly appreciate your feedback (does it work the way you expect?). |
Using the Clustering class works really well for rendering Markers from Composables....except how should we set the |
The goal isn't to use Clustering for all markers, but we're testing the Composable marker rendering on that first. Barring any major issues, we'll try porting that over to regular Markers, which is where you'll be able to use |
Any news on this issue? |
🎉 This issue has been resolved in version 2.14.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Thank you @mosmb for contributing the # 2 most popular feature request in this project! |
For cases where info windows aren't flexible enough, or the marker images need to be dynamic in some way, it'd be great to be able to use a
@Composable
to render the marker images.With Views, this was possible by creating a view and using
View.drawToBitmap
, which should roughly also be possible with a ComposeView (with caveats, due to the use of software rendering).The text was updated successfully, but these errors were encountered: