Closed Daddelion closed 2 years ago
@Daddelion I think the problem is in the layout. Try to remove/change some css properties. For exam: https://github.com/grinat/leaflet-simple-map-screenshoter/issues/24#issuecomment-881563764
I don't really think so. I believe this happens, because it is not finished with the panning/zooming. When I put the takescreen on a separate button instead of the same function. It works. But I cannot get the takescreen function to wait.
Here look at this jsfiddle: https://jsfiddle.net/uk3nfegb/11/
@Daddelion fixed in 0.4.5
when it zooms it does not wait for the tiles to reload so it really lucks not good.
sadly when it does a larger zoom, from zoom 3-10 sometime still happens, but its hard to reproduce :/ sorry
https://jsfiddle.net/458xac6m/
@grinat Should i open a new issue?
As you can see. When I execute map.fitBounds(layer.getBounds()). This is the resulting Image.
Is this a waiting issue? I tried waiting for "zoomend" but that didn't help.