I am using markup extension to draw on my viewer, after drawing, on selection of markup event, can I get its center coordinates of current selection or any coordinates inside of it? if not, at least can I get dbId behind current selection?
Thanks in advance
Yelp~ it's the case, and see also:
// Get the markup's position in browser pixel space. the (0,0) is top left
Markup#getClientPosition()
// Get the markup's bounding rect in browser pixel space.
Markup#getClientSize()
// get the markup's bounding rect in browser pixel space, including the stroke width
Markup#getBoundingRect()
BTW, to obtain dbId within the markup boundary, you can do this: