openseadragon-annotations icon indicating copy to clipboard operation
openseadragon-annotations copied to clipboard

Move the mouse to focus

Open kissbugs opened this issue 7 years ago • 1 comments

Hi, See your document on github,openseadragon-annotations, Write a demo, but now there are some problems need to ask you, when the rendering of the picture covered the entire layer, click the mouse to draw a circle, the coordinates of the location of the mouse will move with the mouse to draw the desired graphics , But when the rendering of the bottom of the picture is not covered with the entire screen, the drawing will be wrong, the positioning of the coordinates will be a serious shift. The more the lower right corner, the more powerful shift.

Your code demo, no problem is because your bottom rendering of the picture is a whole, if it is very small, or the picture erected to show, it may also report this error.

(Error example), red left arrow part, this area, if this area and the picture zoom to a certain proportion, it is not Will have this problem (the correct part of the link:).

The following video demo section, (video-1) example is to render the picture and the browser zoom to A certain proportion of the correct drawing of the example, so the operation, the coordinates and the line part of the error.

(Video-2) , it will be offset.

I would like to achieve the mouse click down when the drawing will move with my mouse to move, not the underlying rendering of the size of the picture and occupy the size of the screen to change the offset position of the drawing~

I try to see your source code, try for several days, or failed to solve this problem, would like to ask you, you can help solve the next thing, or provide a very important idea, very grateful ~ very important ~ Thank you ~

Look forward to your sincere reply

kissbugs avatar Mar 23 '17 08:03 kissbugs

hey @von-mo. Sorry that I didn't reply earlier. Apologies: I don't really have the time for this plugin anymore, and I realy haven't had the change to look at the code in a long time. Please, feel free to fork it if you need it, and take care of the code yourself. I am going to discontinue as I can't really maintain it and it feels like a burden.

emigre avatar May 30 '20 22:05 emigre