• Resolved aiwetir

    (@aiwetir)


    Just updated and the title pretty much says it all.

    Popup doesn’t show up, map pans over to wrong place

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author hupe13

    (@hupe13)

    What shortcode you are using? Do you have an URL?

    Thread Starter aiwetir

    (@aiwetir)

    [leaflet-map][elevation gpx=”/wp-content/uploads/gpx/XXX.gpx” waypoints=markers wptIcons=defined][layerswitch tiles=”ESRI Topo”,”OSM”,”Open Cycle Map”][zoomhomemap][fullscreen]

    for my defined icons
    iconSize: [30,30], iconAnchor: [15,30], popupAnchor: [0, -24],

    it’s a private map, but I can try to make a public facing version if you need. I reverted back to 3.4.1 in the mean time

    Plugin Author hupe13

    (@hupe13)

    It is difficult to say what is wrong without an URL. I guess:

    Map Moving to Wrong Place

    Try [leaflet-map fitbounds]

    Popup Broken

    If popups on the wrong place, the values iconSize: [30,30], iconAnchor: [15,30], popupAnchor: [0, -24], are not okay.

    Thread Starter aiwetir

    (@aiwetir)

    Those values work in 3.4.1 but there’s no pop up at all. The map moves when you click on the marker, it loads in the right place, but moves randomly to the wrong place on click

    Plugin Author hupe13

    (@hupe13)

    wptIcons=defined

    Does it work with default setting wptIcons=1?

    Thread Starter aiwetir

    (@aiwetir)

    No, it behaves the same
    Here’s a test
    https://kunamakst.com/posts/test/

    Here’s the shortcode
    [leaflet-map][elevation gpx=”/wp-content/uploads/gpx/marion-flats.gpx” waypoints=markers][layerswitch tiles=”ESRI Topo”,”OSM”,”Open Cycle Map”][zoomhomemap][fullscreen]

    Thread Starter aiwetir

    (@aiwetir)

    I just installed Leaflet and extension on a fresh WP installation and see the same behavior

    Plugin Author hupe13

    (@hupe13)

    Displaying the images as popup need some css. The browser must know, how big is an image. Raruto has an example. And I will make my example more understandable and better.

    Thread Starter aiwetir

    (@aiwetir)

    I have already applied that css and it is working in 3.4.1 and as I said on a fresh install of this on another WP site, it is behaving the same


    Plugin Author hupe13

    (@hupe13)

    Ok, the effect occurs even without images. I will fix it.

    Plugin Author hupe13

    (@hupe13)

    If you do not want to wait for the next version (3.4.4), you can test the Github version.

    Plugin Author hupe13

    (@hupe13)

    3.4.4 is released.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Map Moving to Wrong Place and Popup Broken with Update’ is closed to new replies.