Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Make InfoWindow Open By Default #35

Open
zmoddynamics opened this issue Sep 9, 2015 · 4 comments
Open

Make InfoWindow Open By Default #35

zmoddynamics opened this issue Sep 9, 2015 · 4 comments

Comments

@zmoddynamics
Copy link

Thanks for the great extension.

Regarding the info window, is it possible to open the infoWindow when loading the map ?

@guimarca
Copy link

+1

@vadim-bulochnik
Copy link

I reached this goal in the following way:

$map->setName('gmap');
$marker->setName('gmarker');

$map->appendScript("google.maps.event.addListenerOnce(gmap, 'idle', function(){
            google.maps.event.trigger(gmarker, 'click');
        });");

@guimarca
Copy link

@vadim-bulochnik It works, thank you so much

@urbannet92
Copy link

Hi @vadim-bulochnik,
He open only a last marker.
for me, i like open all markers info window.
your help please.
Thank''s

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants