I'm currently utilizing an amazing plugin, but I've encountered an issue with the zoom feature.
panZoom = svgPanZoom('#svg3336', {
zoomEnabled: true,
controlIconsEnabled: false,
fit: true,
center: true,
panEnabled: true,
zoomScaleSensitivity: 2,
beforeZoom: function(){
if(zoomed)
{
return false;
}
else
{
zoomed = true;
}
},
mouseWheelZoomEnabled: false,
minZoom: 0.1
});
When return false
is triggered, my map disappears. Upon checking the matrix data, I noticed a significant negative value in the coordinates.
transform="matrix(5.630453109741211,0,0,5.630453109741211,-2396.02587890625,-7678.998046875)"
Any ideas on how to resolve this issue?