WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Geo Mashup] On MarkerClick = infoWindow centred (3 posts)

  1. arthurdent2003
    Member
    Posted 3 years ago #

    Hi there!

    One Question:

    I have a map with different markers. When I click on a marker, the infowindow appears right, but the upper part is out of the window, so I have manually center the infowindo to see the title of the post.

    Is there any way (custom) to change the position of the infowindow?

    Thank you!!

    AD

  2. Dylan Kuhn
    Member
    Posted 3 years ago #

    The google API tries to make the info window fit automatically, but it can be off sometimes. I've noticed a few things that can affect the results:

    * map size: it seems like the map must be relatively larger than the info window
    * marker size: if you have custom markers, make sure the size is specified correctly, as well as the info window anchor point
    * map CSS: sometimes dimensions and other styles specified in map-style.css can have an effect

  3. arthurdent2003
    Member
    Posted 3 years ago #

    Hi Dylan,

    thank you for the reply!

    I'll give it a try.

    Thank you!!

    AD

Topic Closed

This topic has been closed to new replies.

About this Topic