Showing map marker details

Hi there!

I’ve got a bunch of “listings” set up in my database and I’m showing these listings on a map based on a x-range from current geographic position.

Now I of course want the user to be able and see some details of the “listing” when they click on a marker - but how do I set this up? When clicking on the marker, there is no Listing Object associated with it , so I cannot find and pass that element to my popup.

Should I add another state (i doubt it) to the map when initially filling it? I’m using a state to pre-fill the locations for the user when they click on the map tab.

Thanks in advance!