Embed a Store Locator without plugins with Google Maps API

Hi Everyone!

I’m trying to embed a store locator without using plugins. I’m using the Google Maps JavaScript API. But I don’t know if I’m doing it in the right way.

I created a new page, in the body of the page in the option of code I embed this:


The script part of:


Here I paste all the .js part of the map. And the map looks great, but when I need my store markers, didn’t get call. In the part:


It’s suppose to call the store description, the description is written in JSON but I read that you can link JSON files saving it in JS files.

I hope someone can help me.

My page url: https://danel-testing-page.myshopify.com

The password: pewlya

I’m beginner in web development.