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.
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.
Hello,
Yes, it works! Thanks for the great support.
Regards
Webbi87