Map change with javascript

Hi guys, I'm writing a web page where you can change the address to search. I have inserted a Map with the parameters as in the image.

https://bootstrapstudio.io/assets/img/tutorials/google-maps/generate-key.png

But I want to change the address at runtime on the click of a button. But I don't understand the javascript code you need. I want to change at runtime the address to

Rome, Italy

How can I do? Thank you

You put the address in the address box of the Map settings in the Options pane of BSS. When the page is loaded, that address will be the starting location of the map. As far as I'm aware, that is the only way that map works. You don't need to add or change any Javascript for that to work. If you're trying to make it do something other than that, you'll need to search the web for more functional Map setups.