如何在单击的图像控件上获取坐标

时间:2022-10-10 19:10:26

I have an ImageMap on which i want to get the cordinates once user clicks on a particular region. How can this be done. I want to get x,y od every single location wherever user clicks.

我有一个ImageMap,一旦用户点击某个特定区域,我就想让它们得到cordinates。如何才能做到这一点。我想在用户点击的任何地方获取x,y od。

Later i want to use this coordinates to draw a hotspot. Can anyone guide me how to go about the same?

后来我想用这个坐标绘制一个热点。任何人都可以指导我如何去做同样的事情?

1 个解决方案

#1


0  

You can easily do so by using an image submit button.

您可以使用图像提交按钮轻松完成此操作。

#1


0  

You can easily do so by using an image submit button.

您可以使用图像提交按钮轻松完成此操作。