Google maps in android native application is showing blank screen when internet is turned off, Although map is loading/working correctly when internet is turned ON.
Asked
Active
Viewed 278 times
0
-
2I'm pretty sure that Maps needs an internet connection, at least to do certain things. Anyway, most likely your app won't work completely if the internet connection is turned off, so I wouldn't waste time thinking about this. – Tim Biegeleisen Dec 03 '18 at 06:20
-
1that is expected behavior. It should be that way, as maps work only online – Vladyslav Matviienko Dec 03 '18 at 06:25
-
I totally agree with you, but I have noticed sometimes occasionally it works without internet connection – Muhammad Dec 03 '18 at 06:26
-
If you want to support offline catch then you need to purchase Google Maps API for standard use, here is the tow link which explain you https://stackoverflow.com/questions/6109369/how-to-cache-google-map-tiles-for-offline-usage https://enterprise.google.com/maps/terms/us/maps_purchase_agreement.html – Dhaval Solanki Dec 03 '18 at 06:34
-
Nice suggestion although, Basically my field officer visits different locations to save offline data with location of destination, I just wanted to show his location on map before saving data into local database to make sure He got the correct destination location. However sometimes He doesn't have internet connection – Muhammad Dec 03 '18 at 06:59