1

I'm migrating Smart Map over to the Google Maps plugin, and I want to open a popup on button click. But it seems there is no JS method available to open an info window.

Here's how it was done in Smart Map:

How can I do the same thing with the Google Maps plugin?

1
  • I might need to add a small method to the new plugin. Let me take a closer look and get back to you.
    – Lindsey D
    Commented Feb 25, 2021 at 19:25

1 Answer 1

2

As of Google Maps 4.0.1, there is a new getInfoWindow method in JavaScript. This makes it easy to retrieve and manipulate existing info windows.

Additionally, I've written a guide for Opening Info Windows...

Hope that helps! :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.