Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

android: how to load and display large images(A0 size) - like google map did?

I have to load and display some very large images, some have size A0(33.1 × 46.8 inches) .I did follow the way Google map display map by split the image in to may tile( size 128x128 pixel) in difference zoom levels ( for zooming in/out) and load them on the view , but i still get stuck on the performance issues , it doesn't smooth enough . I think some as you have faced the same issue and got the idea to solved, so if you can please shared with me and everybody . As i know there is a CATiledLayer Class for doing this work on iOS system . Any help will be appreciated.

like image 394
Anh Nguyen Avatar asked Dec 11 '11 04:12

Anh Nguyen


People also ask

Why can't I zoom on Google Maps?

The shortcut is simple: just double-tap the maps interface, but instead of lifting your finger after the second tap (the shortcut for zooming in), you leave it touching the screen. Then a swipe up zooms out, and a swipe down zooms in.


2 Answers

Check this. According to its README it's a "A tiling scrollview to display large picture (similar to iOS "CATiledLayer")"

like image 186
Song Avatar answered Oct 03 '22 15:10

Song


there is one third party library called MapView, this is best to load very large images.

try this link

like image 38
kalandar Avatar answered Oct 03 '22 14:10

kalandar