Image viewer img size issue

hi every one, i have gallery where display buliding map and i need to zoom the img i used imageViewer to do the zoom it works but i have 2 issues when i zoom it zoom first to the center
the second issue that the img show like that from the top
image
any one can help :hibiscus::hibiscus::hibiscus::hibiscus: