Mosses
 · [moe-zus]

How to bind map marker to generated component children

Actions & Logic

Not A Dev. yet.

I have the first step of binding respective documents from a collection to the blue component. See screenshot below.

For my next step, I'm looking to build a horizontally scrollable components. The expectation is to have the respective map marker be highlighted for the component that's being viewed at the time. See Yelp video example for reference.

yelp map scroll example.mp4
662.4KB

What have you tried so far?

I added the component in a Row and generated children. I'm getting the correct number of components, but they're all the based on the initial selected map marker.

I enabled Update Page on Change for the component, but status didn't change.

Looking for guidance on how to ensure components are populated correctly and when being viewed, the map is rebuilt with the respective map marker being highlighted.

Did you check FlutterFlow's Documentation for this topic?
Yes
3 replies