Jump to content

[SOLVED]Google Maps infowindow auto open


mwhym

Recommended Posts

Hello,

 

I  have been wrestling with this for a day now and I can figure it out.

 

I want to auto load (make visible) the infowindow on the google maps page, but everything I try doesnt seem to work.

 

I have tried adding various event listeners but I can get it to work.

 

If anyone knows how to edit stores.js to achieve this I would really appreciate the help.

 

 

Thanks

George

Edited by mwhym (see edit history)
Link to comment
Share on other sites

Actually figured it out ... stupid me....

 

All you need to do is remove the the click event listener from the infowindow open call.

 

store.js (around line 146)

 

google.maps.event.addDomListener(marker, 'click', function() {

(and its closing tags - but not the open and content calls).

 

Hope this saves some time to someone else.

 

George

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...