Hi all. I’m having some trouble with setting up some Webflow interactions on this map I’ve built.
When clicking a map pin it opens up the text box for that map pin which is correct. But I would also like to close any previously clicked and left open text boxes as well.
I’ve got this functionality to work, so any left open text boxes will be closed if another map pin is clicked. But the trouble is that if you click on one of these pins again that had their text box left open and then closed. This pin takes 2 clicks instead of 1.
Any ideas on how to fix this would be greatly appreciated. Thank you.