How to display data query results on a map?

I’ve got the map connected to a database to display multiple locations.
I’ve got a custom search field and button connected to the database.
All of the tutorials I can find are how to display the results in a repeater or table.
How do I display the results on the map?

Hi!

Is it a dynamic map (like Google maps) or is it an image of a map? If it’s just an image, maybe just create a stack with the information you want to display, connect each element in the stack to the respective field in your collection, then duplicate the stack and connect to the data for the new location? Then you can .show (then .hide) the stack when that location is clicked?

I did start something similar - but I’ve got over 300 locations and it changes monthly. I need something I can just edit the database when they change because I wear too many hats at my company to only be the web person!

It’s the dynamic native to Wix Google map. Connecting multi locations to a database and filtering options for it are no-code now in the new editor, and it works like a charm, but only with pre-selected options from a dropdown or checkbox. So I can do a filter by state dropdown and it works great, but I need to narrow filtering down even more if possible, preferably by user-entered info since I can’t populate a dropdown of every zip code in the country. I have that created and it works like a breeze output to a table or repeater list, but the same code doesn’t work if I change the element in the results line from the table to the map.

Gotcha! Far more involved than my far too simple suggestion :slight_smile:

I haven’t done anything like that, but I did come across this wix velo example as I was browsing for something else: Example: Multiple Markers Google Maps

Best of luck!