Google map pins for hotel locations

Hi all

I created a review website, where the search result is stored in Wix database/datacollection. I would like to add google map displaying the locations of the cities that users have searched. Does anybody know how to integrate google map in search result from data collection and repeater?

I have circled the google map function in below image.

We have a step by step tutorial on displaying multiple markers:
https://www.wix.com/corvid/forum/corvid-tips-and-updates/example-multiple-markers-google-maps

A database collection called Locations contains the locations that will be marked on the map.

A query is performed on the collection, and an array of Locations is created and passed to the HtmlComponent with postMessage() .

Goodluck!

Hi Yevheniia

How cool. Thank you for your help. I will try to follow the guide. Hope that I can make it work. Have a nice day :slight_smile:

Thankyou :smiley:

You just saved my day :wink: