Is it possible to sort a repeating group when someone clicks on a map marker? I’d like the item to be shown at the top of the repeating group list when the corresponding map marker is clicked.
Data Types
Repeating Group (1 type) - Jobs
Map (3 data types) - Showings, Open Houses, Other
*I’m using the Google maps BDK plugin.
Hi, I know it’s been a while but trying my luck here
I don’t get how the marker ID would help with showing the clicked marker first…
IDs are fixed and predetermined, no ? Or did I miss anything ?
Thanks !
Hey it’s been awhile since I worked on this, but I ended up doing a temporary solution in which the Repeating Group list updates to only show the map markers that are visible on the map. So when the user zooms in/out, the list updates accordingly. I figured this would be a short term solution while I continue to build the rest of the site functionality.
(I plan on revisiting the suggestion from NoCodeVenture on displaying the marker id inside state to reference that particular cell/pin, but haven’t had time to do that yet.)
My current process is as follows:
(Using Google Maps BDK plugin)
Create Workflow > When ‘Element’ ‘google map bdk map bounds are changed’ > Display List Element = [select your repeating group] and Data Source = This ‘googlemap bdk’s markers’ VISIBLE MARKERS
This will update your repeating group to show only the visible markers on the map.