Code Monkey home page Code Monkey logo

Comments (10)

DSteve595 avatar DSteve595 commented on May 19, 2024 7

@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?).

from android-maps-compose.

DSteve595 avatar DSteve595 commented on May 19, 2024 5

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 anchor, infoWindowAnchor, etc.

from android-maps-compose.

bubenheimer avatar bubenheimer commented on May 19, 2024 4

https://issuetracker.google.com/issues/220892485

from android-maps-compose.

PedroARuiz avatar PedroARuiz commented on May 19, 2024

if were possible to load an url image would be amazing 🤩

from android-maps-compose.

bubenheimer avatar bubenheimer commented on May 19, 2024

IconGenerator from android-map-utils provides a recipe that looks helpful to take inspiration from, combined with (Abstract)ComposeView and View.drawToBitmap as @alexvanyo suggests. (In case someone is looking for a more spelled out approach.)

from android-maps-compose.

spiral123 avatar spiral123 commented on May 19, 2024

Using the Clustering class works really well for rendering Markers from Composables....except how should we set the anchor, infoWindowAnchor, flat and draggable MarkerOptions?

from android-maps-compose.

andlopru avatar andlopru commented on May 19, 2024

Any news on this issue?

from android-maps-compose.

googlemaps-bot avatar googlemaps-bot commented on May 19, 2024

🎉 This issue has been resolved in version 2.14.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

from android-maps-compose.

wangela avatar wangela commented on May 19, 2024

Thank you @mosmb for contributing the # 2 most popular feature request in this project!

from android-maps-compose.

mosmb avatar mosmb commented on May 19, 2024

Thank you to both of you @wangela & @kikoso
Can't wait to deprecate my homemade solution at work and use this!

from android-maps-compose.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.