Viewing 7 replies - 1 through 7 (of 7 total)
  • popups opening at the margins of a map have a current issue with autopanning, havent found a fix for this yet…

    Thread Starter illuminati3

    (@illuminati3)

    Is there any workaround? Maybe by doesn’t open the popup automatically?

    resizing the map, making it larger, as marker is always centered on map….

    Hi Robert,
    I just downloaded your free leaflet plugin on my site and it is really fantastic. Thank you!

    I would also be interested in a fix for the centering of images.

    Similarly, I am having a formatting issue when you put a text and an image in the popup, the image has zero margin or padding. Sometimes it pops right out of the popup, and sometimes it just crowds the text. Is there any way to adjust? You can see the issue in the top map here: http://www.wanderingogres.com/?page_id=701

    Thanks so much,
    Leslie

    Hi Leslie,

    thanks for your feedback!

    Regarding autopanning issue: this will hopefully be fixed with the next leaflet.js version that is expected to be released soon & will be integrated in one of the next pro versions.

    regarding second issue/image in popup: not sure why this happens on your site – perhaps a css conflict. An easy way to fix would be to put the image first and then the text.
    best,

    Robert

    Hi Robert, thanks for the quick response. I tweaked a couple of boxes by adding line breaks or other text after the images to generally get the look I was going for.

    you`re welcome!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Image on popup not centered’ is closed to new replies.