Ad

How Get The Progress Status Of Loading Mapview In Android?

- 1 answer

while the map is in loading state i want to put a progressbar at the center of mapview.

how to get the progress?? and how to do??

give me some example..

thanks.

Ad

Answer

I don't think there is any reasonable way of doing it. Note that Google isn't doing this either in their map applications. It is pretty clear just looking at the page to see if tiles are still loading, so I don't think there is actually any need to put in a progress indicator.

The MapView has a method canCoverCenter() which can tell you if the center tile is available, but there is nothing for the rest of the tiles.

Ad
source: stackoverflow.com
Ad