• pduval34

    (@pduval34)


    Hello Hupe13,

    First, thanks a lot for your works… Great !
    I beg your pardon, Argentum opened a similar subject (I think), but he didn’t answer at your question…
    I have seen an improvement with the look of the popup (by exemple, the frame of the popups looks better).
    The persitence of Popups after hover looks for me quite good and if it’s becoming a problem, the user understand quickly that a click on a map or one marker gives the solution.
    But, with hover, with my computers, the popups appear systematicelly twice (I can send you a screenshot of the problem, if it’s not the same for you).
    I have done a test with the shortcode [hoverlap], thus we come back to the previous situation….. but we lost your improvment and… I have about 300
    [hover] to modify in [hoverlap] !
    Thank your very much for your answer.

    The page I need help with: [log in to see the link]

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

    (@hupe13)

    I have rarely been online in the last few weeks. That’s why I not answered the question yet.

    The problem seems to be similar: Both are using elevation, leaflet-marker and hover. I’ll take a look at it, please be patient.

    You have some CORS errors in your webpage.

    Plugin Author hupe13

    (@hupe13)

    Try [elevation gpx=... !waypoints] or set in admin interface https://yoursite.tld/wp-admin/admin.php?page=extensions-leaflet-map&tab=elevation “Display track waypoints” to “0”.

    Thread Starter pduval34

    (@pduval34)

    No sucess, Perhaps I have done something wrong !!!

    Plugin Author hupe13

    (@hupe13)

    Which shortcodes you are using for [leaflet-extramarker]?

    The shortcode [hover] must be after [leaflet-extramarker].

    Plugin Author hupe13

    (@hupe13)

    Which shortcodes you are using for [leaflet-extramarker]?

    I mean options. Please share your leaflet-extramarker shortcode with the options you are using.

    Argentum

    (@argentum)

    I’ll just add what shortcode option I settled for to get rid of the accumulating hover popups.

    [hover gpx=false marker=false]

    Thus, I disabled hover for both markers and tracks. I only have one track per page and up to five markers, so clicking to show popup and clicking to close popup seems best for me.

    Plugin Author hupe13

    (@hupe13)

    hover is for leaflet-* elements only, not for elevation! So this command [hover gpx=false marker=false] does not make sense!

    Here I assume now, it is a problem with a false leaflet-extramarker command or an error in the interaction with another plugin.

    Thread Starter pduval34

    (@pduval34)

    Hello,
    Sorry for this late answer !
    Hupe13, you asked ” Which shortcodes you are using for

    [leaflet-extramarker]?
    The shortcode [hover] must be after [leaflet-extramarker].”

    I put [hover] at the end : My shortcodes look like this :

    [leaflet-map height=500 tileurl=https://{s}.tile.opentopomap.org/{z}/{x}/{y}.png dragging scrollwheel mapid=”OpenTopoMap”]
    [elevation gpx=”https://www.website/track.gpx” !summary !legend labelsRotation=45 labelsAlign=middle track=”trackname”]

    [zoomhomemap] [layerswitch] [fullscreen] [leaflet-scale] [hidemarkers]
    [leaflet-extramarker lat=”46.5162559997222 ” lng=”-86.4779017997222″ markerColor=cyan shape=circle icon=fa-solid prefix=fa-water]image

    Description
    [/leaflet-extramarker]

    [hover]

    That’s all.
    Thank you very much for your help.

    Plugin Author hupe13

    (@hupe13)

    hidemarkers is for leaflet-gpx only, you don’t need this.

    What happens if you omit hover? I think, it is a problem in interaction with another plugin, but I can’t figure out which one.

    Can you please create a test page with the map only?

    Thread Starter pduval34

    (@pduval34)

    Hello Hupe13,

    Different tests with my results : in ascending order :

    1. : with just the map and elevation in the article : the problem persists
    2. : without [hover] : just the title appears. You have to click on the marker to get the photo
    3. : with just the map without elevation in the article : the problem persists
    4. : with the gpx file without the waypoints “WPT” (so I put out [hidemarkers]

    the Link : https://www.familleduval34.fr/wwwtest/

    Plugin Author hupe13

    (@hupe13)

    I’m sorry, I can’t solve it. The code generated by the plugin looks correct. I tested the shortcodes on my site, it works as expected.

    You are using a non-free plugin, so unfortunately I can’t help you. And the Image Hotspot plugin has not been updated since 2 years.

    You can try to disable plugins related to images on a test instance and find the cause.

    Thread Starter pduval34

    (@pduval34)

    Good evening hupe13,


    incidentally, I discover this morning, a curiosity :
    On this page of my website, the problem disappear : https://www.familleduval34.fr/rando/r-local/2023-aqueduc/
    I have done some tries to understand (I’m very bad at computers) :
    When, I just put out the second block of this page, the problem is again present : https://www.familleduval34.fr/test-with-page/
    I show this phenomenon to my son :
    He looks on the code of the page and see on the “Event listeners” on the paragraph “mouse over” a diffrence : 1 repetition of I event 4 times !
    If, this information can help you ?
    Best regards.

    Plugin Author hupe13

    (@hupe13)

    The problem occurs on both pages, both Firefox and Chrome. hover generates only one event for mouseover per marker, but it does not work. For example popupclose is set to 50, the popup should actually close when the mouse pointer is at an appropriate distance from the popup, but it does not.
    Some other plugin is interfering with the function.

    : without [hover] : just the title appears. You have to click on the marker to get the photo

    It’s a pity, but that’s how you have to do it.

    Thread Starter pduval34

    (@pduval34)

    Ok, thank you.
    But I decide to keep [hover]
    The dissatisfied is light, and with one click of the map the problem disappeared !
    Best regards.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘New problem with popup’ is closed to new replies.