Templates Plugins Courses

Mapbox lat/long from connected data type

I would like to put Users Trips on a map. Each Trip object has a City that links to a City object. The City object stores the lat & long. I can’t find a way to reference the Trip’s City’s lat & long to let the map know where to put the marker. Is this the case?
Screen Shot 2020-08-03 at 2.16.10 PM

The workaround I plan on implementing is copying the City data into the Trip object so the Trip itself will have a lat & long. However, this is duplicating data instead of referring through. Is this currently the best way to do this?

Hello, @blspear. Thanks for reaching out.

Let me please check the possible solutions for the functionality you are talking about. I will let you know once I have any useful info.

By the way, have you tried simply use the dynamic value for the Lat/Lng fields?


image

Thank you for understanding :slightly_smiling_face:
Regards,
Kate

@kate thanks for the response!

That’s adding 1 marker. I need to add a list of markers.

I’ve decided to go with the BDK google maps plugin since I’m able to do what I need to with it.

@blspear,

Okay, got it. Glad to know that you’ve found better solution :slightly_smiling_face:
If you have any more questions, just let me know.

Regards,
Kate