You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a leaflet layer by using the "Leaflet.D3SvgOverlay" plugin and geojson data. Later I added a "Leaflet Draw" plugin for drawing polyline, all work correctly but when I zoomIn or zoomOut the browser freeze without any error.
Someone has encountered the same problem?
The text was updated successfully, but these errors were encountered:
There is no error in the console so I'm not sure why it crashed, but I found a solution that solves the freeze/crash problem for me:
constsvg=L.d3SvgOverlay(function(selection,projection){// your D3 code here },{zoomDraw: false// add this to avoid the browser to crash on zoom});svg.addTo(map);
I created a leaflet layer by using the "Leaflet.D3SvgOverlay" plugin and geojson data. Later I added a "Leaflet Draw" plugin for drawing polyline, all work correctly but when I zoomIn or zoomOut the browser freeze without any error.
Someone has encountered the same problem?
The text was updated successfully, but these errors were encountered: