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
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.