Any way to get the center coordinates of all areas? #41
-
|
Is there any way to get the center coordinates (or scaled coordinates) from all areas and say, for instance, iterate through them? I have some other interface elements I'd like to manipulate based on the center coordinates of all areas. |
Beta Was this translation helpful? Give feedback.
Answered by
NishargShah
Apr 5, 2022
Replies: 1 comment 1 reply
-
|
do you need something like this? |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
gpanciera
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
do you need something like this?
https://github.com/img-mapper/react-img-mapper/blob/204413abebcb85086c18f81f43d2c642e0370518/src/ImageMapper.tsx#L244-L250