5

How can I get my own image to be able to pan and zoom (like a MapView)?

Fantius
  • 3,806
  • 5
  • 32
  • 49
  • Possible duplicate of [How can I get zoom functionality for images?](http://stackoverflow.com/questions/2537238/how-can-i-get-zoom-functionality-for-images) – J. Chomel Jul 29 '16 at 06:34

1 Answers1

3

I tried hosting an image in a WebView (built-in pan and zoom), but there were a number of problems. I ended up extending the View class and overriding onDraw. It was not hard, once I finally decided to use that method.

Fantius
  • 3,806
  • 5
  • 32
  • 49
  • do you support pinch zoom? would you be interested in posting source (I'm looking at same problem - would like to avoid reinventing the wheel) – SteelBytes May 21 '10 at 05:37
  • It didn't support pinch zoom. Back then was before Android had multitouch. I don't think I have the source anymore. The project was abandoned. – Fantius May 26 '10 at 15:19