• Resolved Webbi87

    (@webbi87)


    Hello,

    Since the update to WordPress 5.5.3, the map no longer works. The markers etc. work.
    Does anyone have any idea where the error is?

    Regards
    Webbi87

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author bozdoz

    (@bozdoz)

    Plugin has been tested on 5.5.3. What specifically isn’t working?

    Plugin Author bozdoz

    (@bozdoz)

    Just took a look at your site; looks like you’re setting minZoom and maxZoom to 14 and I guess the tile layer is not downloading any tiles as a result; why not just set the map to zoom=14 and disable zoom:

    [leaflet-map zoom=14 !boxZoom !doubleClickZoom !scrollwheel !touchZoom]

    Plugin Author bozdoz

    (@bozdoz)

    Actually for reference it appears to be an issue with minZoom or maxZoom on TileLayer and detectRetina.

    I’ve submitted a bug report to LeafletJS itself: https://github.com/Leaflet/Leaflet/issues/7326

    I’ll see if I can fix the logic in this plugin to prevent this from happening again.

    Thread Starter Webbi87

    (@webbi87)

    Hello bozdoz,

    thanks for the fast answer. Can you fix the problem?

    Regards
    Webbi87

    Plugin Author bozdoz

    (@bozdoz)

    Did you try the shortcode I suggested? That should work. Otherwise, I did submit a fix to leaflet, but I expect that will be very very slow. I can work on another fix specifically with my plugin, but I might not have time for a little while.

    Plugin Author bozdoz

    (@bozdoz)

    v2.21.0 being published now. Should fix the issue.

    Thread Starter Webbi87

    (@webbi87)

    Hello,

    Yes, it works! Thanks for the great support.

    Regards
    Webbi87

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