Google maps Html search to database

I’m trying to run my address search through the html component and then passing the results to my database. It’s slightly different than this example posted by @yisrael-wix here: https://www.wix.com/corvid/forum/corvid-tips-and-updates/example-multiple-markers-google-maps but I can’t seem to get it to work. Any suggestions?