Open Marker InfoWindows question

New home Forums Gold Add-on General queries Open Marker InfoWindows question

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #30212
    W8TTS
    Member

    I currently have the “Open Marker InfoWindows” set to Hover. And once that InfoWindow is open you have to click on the “X”. Is there any way to set the Hover option to close when the cursor is moved away from the marker?

    Thanks,

    Ted

    #30237
    Perry
    Moderator

    Hi Ted,

    Thank you for getting in touch with us!

    We’ve tried that before but with mixed results. The problem is, because the marker isn’t a HTML element, the infowindow isn’t a child element of the marker.

    This means that if you implement the behaviour you’re describing, then when you move the mouse over any part of the infowindow, the mouseout event fires on the marker, which causes the infowindow to close.

    Once the infowindow closes, the mouse is over the marker element which has just been revealed, causing the hover event to fire, which opens the infowindow. The mouse is then over the infowindow, so the mouseout event fires on the marker, closing the infowindow, which means the mosue is over the marker, and so on and so on and so on.

    The end result of this is the infowindow rapidly opening and closing as you move the cursor around. I may look into a workaround in the future but at the moment to the best of my knowledge this isn’t possible, at least not with Google maps.

    Sorry to be the bearer of bad news, is there anything else I can help you with?

    Kind regards
    – Perry

    #30238
    W8TTS
    Member

    Thanks, Perry

    Not bad news. I was just hoping that it would work.

    Ted

    #58324
    cabrinamcginn
    Participant

    Hi All,

    I have the same question. It has been three years since this question was asked though and Im wondering if there have been any updates? I would really like to my infowindows to collapse when the cursor is moved away from them.

    Cabrina

    #58327
    AbelC
    Moderator

    Hi Cabrina,

    Thank you so much for getting in touch with us.

    Unfortunately, this is not supported by default at the moment, however, this can be achieved with Custom JS. We do apologize for the inconvenience.

    Could I kindly ask if you could please provide me with a link to your map page so that we can prepare the code needed to achieve this?

    I hope this helps clarify and we look forward to hearing back from you.

    Kind Regards,
    Abel

    #58369
    lafaim
    Participant

    Hi,

    My info window is not lined out right.
    I have chosen the circular info window but my Titel and Adress are overlapping.
    I also have to scroll in the description.

    How can this be solved? I would like to have no scroll down, just the info at first view. And ofcourse no overlapping.

    Let me know!

    Attachments:
    You must be logged in to view attached files.
    #58371
    AbelC
    Moderator

    Hi There,

    Thank you so much for getting back to me, and we do apologize for the inconvenience.

    Could I kindly ask if you would be open to please provide me with a link to your map page?

    We will then be able to take a closer look at what is causing this issue and get back to you as soon as possible.

    Alternatively, could you please submit a support ticket here -> https://www.wpgmaps.com/support/

    Again, we do apologize for the inconvenience.

    I look forward to hearing back from you.

    Kind Regards,
    Abel

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.