catchthecows / AndroidImageMap

An HTML map like widget in an Android view
199 stars 74 forks source link

Added LruCache, which is dependent on android-support-v4.jar. #7

Closed fess89 closed 10 years ago

fess89 commented 10 years ago

Added LruCache, which is dependent on android-support-v4.jar.

Modified onScreenTapped: the formula there now depends on if the picture is larger than the screen or not. This actually needs investigation. I've tested it on a Nexus 7 emulator and it worked there, but I'm not sure about devices with different DPI / screen size.

Modified setImageResource() so it would take into account inSampleSize. But the decision mechanism for what inSampleSize to use (default is 1, i.e. no changed to the original image) is still to implement.

jsiko11 commented 10 years ago

Hi! I have merge your code and now I can tap on Map. There some issue tapping near the poly because acts like if the tap was on poly area. Hope you can fix it soon as possible. Great work