Map using multiple markers only showing one

Hi there!

I’m having trouble with my map component.

Here’s what I’m trying to do:

When user clicks on the ‘go’ button, it shows the map with their own location + other going users real time location.

To do so, I’ve created a locations collection with a relationship to Users, and I’ve added a true/false ‘isGoing’ filter.
I’ve selected ‘multiple markers’, ‘all locations’ and added a filter ‘current location > user > isGoing’ is true.

For some reason, the map only shows one location (the logged in user).

I’ve checked my database and everything is working correctly, I really don’t know what could be my error here.

I’d appreciate your guys help :slight_smile:

Thank you!!

Lola

Welcome to the community @lolacha! :partying_face:

Why you don’t create a location property in the users collection and use it instead of creating a new collection? Then in the the map you can connect the users collection and for marker address, you can add the location property lat & long.

With your current setup you should select the users collection and for the marker address, add current user > location.

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