Cannot find 'Location Field' option when Marker Type is 'Document'

Widgets & Design

Hi!

I'm using the GoogleMap widget with the following settings:

  • Num Markers: Multiple

  • Marker Type: Document

  • The marker source is a list of Firestore documents from my 'alerts' collection (which has a field named 'positionLost' of type LatLng).

My problem is: I can't find the option in the GoogleMap widget properties to specify that the 'positionLost' field should be used for the markers' location. Where is this setting located?

Can anyone help me find where to set the LatLng field from the document when using Marker Type: Document?

Thanks!

What have you tried so far?

I know I could potentially use Marker Type: LatLng instead, but if I do that, I won't be able to easily get the specific document reference in the On Marker Tap action, which I need. Using Marker Type: Document is preferred for the On Marker Tap functionality.

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