How to get the clicked pixel independent of scale and pan position?

前端 未结 0 714
醉酒成梦
醉酒成梦 2021-01-06 04:03

I am trying to get the pixel position x and y when I click on an image. I am using 2 examples that I have find:

This for zoom and pan: Pan & Zoom Image

Thi

相关标签:
回答
  • 消灭零回复
提交回复
热议问题