doublesecretagency / craft-googlemaps

Google Maps plugin for Craft CMS - Maps in minutes. Powered by the Google Maps API.
https://plugins.doublesecretagency.com/google-maps/
Other
10 stars 9 forks source link

Ability to specify an open info window on load #33

Closed ryguy2407 closed 3 years ago

ryguy2407 commented 3 years ago

It would be great if there was an option to set one of the markers as having an open info window on load. I tried running {% do map.openInfoWindow(markerId) %} before rendering the map, but that didn't work.

lindseydiloreto commented 3 years ago

Hey there... I'm assuming you closed this because you just updated to the latest version of the Google Maps plugin.

I'm guessing you've already noticed, the openInfoWindow method wasn't introduced until v4.0.11... which was only released last week on June 18. 🙂

ryguy2407 commented 3 years ago

Yeah I did just notice it, sorry about that :)

On Sat, 26 Jun 2021, 3:24 pm Lindsey DiLoreto, @.***> wrote:

Hey there... I'm assuming you closed this because you just updated to the latest version of the Google Maps plugin.

I'm guessing you've already noticed, the openInfoWindow method wasn't introduced until v4.0.11... which was only released last week on June

  1. 🙂

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/doublesecretagency/craft-googlemaps/issues/33#issuecomment-868950465, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIDP3BCGKIZHZ4E7HHRY23TUVP7TANCNFSM47DAE5ZA .