I've copied all the data from all .js files into a new "sore-locator.compiled.js" file that I want to use to edit the script.

But when I do it like that this div don't have any data:
<div class="google-store-locator-panel storelocator-panel"></div>
And no stores are listed.

Why does this not work and are there a better way to do this?
My main goal is to make changes to the google-store-locator-panel / storelocator-panel to make it so that it appears on the map.

Please point me in the right direction.

Comments

rodrigoeg’s picture

Issue summary: View changes
Status: Active » Postponed (maintainer needs more info)

There might be other ways of overwriting the details via Store Locator Javascript API. Copying the javascript content might be causing other problems.
As this ticket is very old, I am not sure if you are still facing this challenge.