Streaming live at 10am (PST)

How to dynamically change google maps location?

I have 3 accordion sections a user can click on with an address inside the accordion. I want my google maps to dynamically change its location. I know how to do this with JS but not within webflow since they use a different api.

Anyone know how I can achieve this?

EDIT

nvm, just needed to target the global window.map obj

what about targeting your accordion with javascript by giving them unique ID ? and use those ID onclick listener to update the map, with a javascript.

Thats the plan.

What I am asking for is how to target the maps.