• Resolved krzd7

    (@krzd7)


    Hello,

    There is an issue with opening Google Map marker’s info windows. When you click a marker it keeps creating a new info window. I’m not sure if this is the intended behavior, but I think it should not, because info windows keep appearing on top of each other.

    I ended up fixing this on my server. Can you add this fix on your next release so I can keep the plugin updated without reverting this file? Here is the non-minified “google-map-loader.js” code, so you can check/compare: https://pastebin.com/raw/R0Z7dFKr

    Another bug happens when closing an info window, for some reason the page scrolls down a bit. I have fixed this by using the following custom css:

    .gutentor-google-map {
    overflow-anchor: none;
    }

    Thanks a lot!

    • This topic was modified 3 years, 10 months ago by krzd7.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor codersantosh

    (@codersantosh)

    Hello @krzd7 ,

    We cannot replicate the issue.
    Can you please share a URL that shows the issue?

    Best Regards!

    Thread Starter krzd7

    (@krzd7)

    Hello, the only URL I have is already fixed, but it is quite easy to reproduce:
    1. Add two markers with a description;
    2. Click both markers, by the time you click the second one you’ll see that it won’t close the first one.

    The problem with this behavior is that the code creates a ‘new’ info window, instead of using a global one. This behavior is annoying in case you need the visitor to select/view only one info window at a time. In case this is intended, is it possible to add an option for a single/global info window so we can configure our maps?

    I think most people won’t need multiple info windows stacked on top of each other, but just one open.

    Thanks.

    • This reply was modified 3 years, 10 months ago by krzd7.
    • This reply was modified 3 years, 10 months ago by krzd7.
    Plugin Contributor codersantosh

    (@codersantosh)

    @krzd7 I got you. Our team has accepted your suggestions and will update it on next update. Thank you ??

    Thread Starter krzd7

    (@krzd7)

    Thanks a lot, I’ll wait for your next release ??

    Plugin Contributor codersantosh

    (@codersantosh)

    We will be releasing the next version on someday on this or next week.

    Plugin Contributor codersantosh

    (@codersantosh)

    @krzd7 please update Gutentor to the latest version. Our team has added Google Map Info Window JS provided by you. If you have any suggestions or find any bug, please feel free to add support thread.

    Thread Starter krzd7

    (@krzd7)

    It works, thanks guys!

    Plugin Contributor codersantosh

    (@codersantosh)

    @krzd7 most welcome and thank you for the suggestion and the code ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Google Maps Bugs’ is closed to new replies.