I am building an indoor map using an image, now I wanna know which specific area of my image was clicked so I can identify which room/corridor was selected.
I am using a "deep zoom" scalable imageview https://github.com/davemorrissey/subsampling-scale-image-view So with the panning and pinching zoom I am not sure if the x,y axis of the images would remain the same or not. Any help would be appreciated.
I think viewToSourceCoord method is what you searching for.
See Extensions -> Utility methods section from documentation https://github.com/davemorrissey/subsampling-scale-image-view/wiki/10.-Extension