Is there a way to listen if a MapView is still loading? Because I want to show a progress indicator (such as an hourglass) while the MapView is downloading the map tiles.
Any solution?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The onDraw documentation for MapView says
You could try extending MapView and hiding progress indicator as onDraw finishes. But my guess would be that the MapTiles are loaded asynchronously so your progress bar would finish before the MapTiles were all loaded.