Multiple Markers from one line out of a DB

Hello,

I’m trying to display multiple markers on Google maps out of a single line from a DB but it doesn’t work.

I have this DB for different trips with max. 10 waypoints.

At first I have this filter to get the right line:

This works fine, I can choose a waypoint and show it on the map.
But I want to show all waypoints.
Is this the wrong way to manage this usecase?
Can anyone help?

Hi @MatEhi,

You need to have a separate record in the collection for each waypoint (coordinates) to show it in the form of multiple markers.

Best,
Victor.

Thank you very much for your response. How can I implement this? Could you explain it to me?

@MatEhi

  1. Create a Waypoints collection. Properties: name, location.
  2. Add records to this collection.
  3. Use this collection as a source for Multiple Markers.
  4. If you want to filter waypoints, add a filter for the collection (e.g. based on input).

Best,
Victor.

Thank you Victor.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.