Supabase + Google Maps markers (converted LatLng but can’t access data)

Widgets & Design

Hi everyone 👋

I’m currently building an app connected to Supabase, and I successfully managed to display my locations on Google Maps in FlutterFlow.

Here’s my setup:

  • My Supabase table contains a LatLngCoordination column (text format like LatLng(lat: 45.764, lng: 4.835)).

  • I created a custom function that converts this text field into a LatLng list → it works perfectly, and all markers are displayed correctly on the map. 🎉

BUT — I can’t find a way to access the Supabase record linked to the marker when I tap on it.
My goal is to open a bottom sheet and navigate to a details page with the data from the tapped location (name, description, etc.).

Since the map source is a custom function (not a direct query), I can’t directly access the record when a marker is tapped.

Any advice, example, or workaround would be super helpful 🙏
Thanks in advance!

What have you tried so far?
  • Using a custom function like findRecordByLatLng() to match coordinates → it compiles fine, but I can’t pass the tapped marker’s LatLng as an action parameter.

  • Tried working with page variables, app state, and custom actions — still no success retrieving the record.

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