I have zoom the image by adding separate image control instead of assigning image as div background but the problem is not yet resolved.After zooming in shapes are not drawn in proper place.How to manage the X,Y position relative to canvas after zooming in?
Current method to get X,Y position
mouseDownX = ev.clientX;
mouseDownY = ev.clientY;