• Hello and thank you for this great plugin. So far everything was working fine but now I have a problem. When I click on a marker a link is displayed and when I click on this link a preview of the map is supposed to be displayed but for some time the preview has not been displayed.

    I made the update (https://unpkg.com/[email protected]/dist/leaflet.js and https://unpkg.com/[email protected]/dist/leaflet.css) in my settings

    I have a black screen with the “loading” symbol but nothing is loading…

    I use elementor, shortcode plugin and here is my shortcode :

    [leaflet-map lat=49.269255945524534 lng=-0.2832958485688981 zoomcontrol detect-retina fitbounds show_scale scrollwheel]

    [leaflet-marker iconUrl=”https://iconUrlpath&#8221; iconSize=”36,36″ iconAnchor=”16,16″ lat=49.28426774662085 lng=-0.5391883850097657]<p><a href=”https://mapspreviewUrl.jpg&#8221;;return false”>maps name</a></p>[/leaflet-marker]

    thank you in advance for your help

    • This topic was modified 1 year, 11 months ago by guiguoz27.
    • This topic was modified 1 year, 11 months ago by guiguoz27.
    • This topic was modified 1 year, 11 months ago by guiguoz27.

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor hupe13

    (@hupe13)

    [leaflet-marker iconUrl=”https://iconUrlpath&#8221; iconSize=”36,36″ iconAnchor=”16,16″ lat=49.28426774662085 lng=-0.5391883850097657]<p><a href=”https://mapspreviewUrl.jpg&#8221;;return false”>maps name</a></p>[/leaflet-marker]

    Did the forum editor destroy this?

    [leaflet-marker iconUrl="https://iconUrlpath" iconSize="36,36" iconAnchor="16,16" lat=49.28426774662085 lng=-0.5391883850097657]<p><a >maps name</a></p>[/leaflet-marker]

    I do not know what return false means. Is there any code missing?

    Thread Starter guiguoz27

    (@guiguoz27)

    Here is the complete code [leaflet-marker iconUrl=”https://vikazim.fr/wp-content/uploads/2020/11/orienteering-1.png&#8221; iconSize=”36,36″ iconAnchor=”16,16″ lat=49.28426774662085 lng=-0.5391883850097657]
    Creully
    [/leaflet-marker]

    I removed return false.

    Plugin Contributor hupe13

    (@hupe13)

    I don’t know, why it is not working. Does it work with Leaflet Map Version 3.2.0? But I don’t see any difference in the generated JavaScript.

    Thread Starter guiguoz27

    (@guiguoz27)

    I see a black screen… Is there any other way to click on marker and see the map ?

    thks

    Plugin Contributor hupe13

    (@hupe13)

    I made some tests. But you seems to open the image with any plugin (as overlay or similar). I’m using on my private page Photonic. This has a similar function. But I should test it, if it works here as expected.

    Thread Starter guiguoz27

    (@guiguoz27)

    This overlay could be from elementor no ?

    Plugin Contributor hupe13

    (@hupe13)

    I don’t know. I don’t use Elementor, if only for troubleshooting.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘problem to display a preview of the map’ is closed to new replies.