-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
Maybe this isn't necessarily an issue with the plugin, but I cannot seem to get zoom to work at all, panning works just fine? After reading through the other issues, I noticed that I was required to add a viewbox, which I did, but zoom still refuses to work? I have checked that the events are firing and sure enough, they are. Width and height are just 100% respectively.
let draw = SVG()
.addTo(`#${svgId}`)
.size(width, height);
imageContainer = draw
.nested()
.viewbox(0, 0, 100, 100)
.panZoom({zoomMin : 1, zoomMax:20});
image = imageContainer.image(imagePath);
image
.size(width,height);
Metadata
Metadata
Assignees
Labels
No labels