Linking Google Map with database and repeater.

Hello,

Would anyone happen to know how to link a repeater database with Google Maps, and have the elements in the repeater change depending on what is displayed on the map?

I currently have real estate listings on the left, which is scrollable. Then I have a pinned map on the right. I would like the listings on the left to display on the map. Also, I would like the listings on the left to change depending on the area of the map.

I have code which will display the listing’s title(address) on a map by converting the address to latitude & longitude, but I can’t get multiple addresses to show up. And, I can’t get the listings to change.

For reference. I want my page to function similar to Zillow: https://www.zillow.com/homes

Any help would be much appreciated. Thanks in advance!

See imaged below.

Hi Slick Haus,
Showing multiple markers on Google map element is more complex than showing a single marker, but we do have a great example made by Yisrael for showing Multiple Markers Google Maps
Also try searching the forum for more related threads about multiple markers
Good luck! :v:

#googlemaps #multiplemarkers #markerclustering