I am using GoogleMap fragment for adding maps in my application. As per our requirement we need to support offline maps. ie if the device is offline(not connected to internet) and the cache of my app is cleared I am not able to see the tiles of maps.So I need to show the map even in this situation.
Can you please suggest the best approach for implementing this functionality? Is there any api's or sdk provided by google Maps for implementing this feature?
Please suggest the best possible way to do so.Also is it valid as per google map's terms and conditions?
Thanks
You can't use Google Maps for offline maps as google denies it in it's T&C. Instead you could use OpenStreetMaps (OSMDroid) which enables you to do that. The documentations can be found here. https://github.com/osmdroid/osmdroid/wiki/Offline-Map-Tiles
Some good tutorials
http://datamoil.blogspot.ae/2011/05/offline-google-maps-on-osmdroid.html
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.