• Resolved amibumping

    (@amibumping)


    Hi,

    I don’t know why, but suddenly the map is not appearing, and the code is the same I have on other sites..

    [leaflet-map zoom=13 height="400" lat=42.3529518 lng=-3.6601753 zoomcontrol]
    [leaflet-marker]Suministros Telmo, S.L.
    
    C/ Juan Ramón Jiménez s/n - Pentasa III
    
    Nave 107 - 09007 Burgos
    
    +34 947 486 355
    <a  target="_blank" rel="noopener">Como llegar</a>[/leaflet-marker]
    [leaflet-map zoom=13 height="400" lat=42.3529518 lng=-3.6601753 zoomcontrol]
    [leaflet-marker]Suministros Telmo, S.L.
    
    C/ Juan Ramón Jiménez s/n - Pentasa III
    
    Nave 107 - 09007 Burgos
    
    +34 947 486 355
    <a  target="_blank" rel="noopener">Como llegar</a>[/leaflet-marker]

    The error I get on console:

    construct-leaflet-map.min.js?ver=3.3.0:1 
    TypeError: Cannot read properties of undefined (reading 'extend')
        at WPLeafletMapShortcode ((index):63:16)
        at t (construct-leaflet-map.min.js?ver=3.3.0:1:107)
        at init (construct-leaflet-map.min.js?ver=3.3.0:1:355)
    t @ construct-leaflet-map.min.js?ver=3.3.0:1
    init @ construct-leaflet-map.min.js?ver=3.3.0:1
    load (async)
    (anonymous) @ construct-leaflet-map.min.js?ver=3.3.0:1
    (anonymous) @ construct-leaflet-map.min.js?ver=3.3.0:1
    construct-leaflet-map.min.js?ver=3.3.0:1 -- version -- v3.3.0
    construct-leaflet-map.min.js?ver=3.3.0:1 
    
    TypeError: L.FeatureGroup is not a constructor
        at Object.getGroup (construct-leaflet-map.min.js?ver=3.3.0:1:1195)
        at Object.newMarkerGroup (construct-leaflet-map.min.js?ver=3.3.0:1:1268)
        at Object.getCurrentGroup (construct-leaflet-map.min.js?ver=3.3.0:1:1060)
        at WPLeafletMarkerShortcode ((index):79:39)
        at t (construct-leaflet-map.min.js?ver=3.3.0:1:107)
        at init (construct-leaflet-map.min.js?ver=3.3.0:1:355)
    t @ construct-leaflet-map.min.js?ver=3.3.0:1
    init @ construct-leaflet-map.min.js?ver=3.3.0:1
    load (async)
    (anonymous) @ construct-leaflet-map.min.js?ver=3.3.0:1
    (anonymous) @ construct-leaflet-map.min.js?ver=3.3.0:1
    

    Thank you!

    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)

    and the code is the same I have on other sites..

    Is the theme the same? And the plugins you are using?

    Thread Starter amibumping

    (@amibumping)

    Is the theme the same? And the plugins you are using?

    Yes the theme is Avada, and the plugins are usually the same, yoast seo, wp fastest cache, leaflet and Accessibility by UserWay

    Plugin Contributor hupe13

    (@hupe13)

    wp fastest cache

    Try to exclude this post/page from caching

    Thread Starter amibumping

    (@amibumping)

    I delete the plugin a few minutes back, and the same…

    Hey @amibumping I’m facing the same issue since last Avada update.
    Found a workaround:
    – Add the Avada OpenStreetMap element somewhere on the page where your leaflet map is
    – Make the Avada OSM invisible on all devices
    The invisible element will load the needed components for your leaflet. Not the best solution, but it works for now.

    Thread Starter amibumping

    (@amibumping)

    Hey?@amibumping?I’m facing the same issue since last Avada update.
    Found a workaround:
    – Add the Avada OpenStreetMap element somewhere on the page where your leaflet map is
    – Make the Avada OSM invisible on all devices
    The invisible element will load the needed components for your leaflet. Not the best solution, but it works for now.

    Thank you, it worked!

    Let’s wait for an update.

    Plugin Contributor hupe13

    (@hupe13)

    I mark it as resolved.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Map suddenly not appearing’ is closed to new replies.