简体   繁体   中英

Storing Google Maps data for use offline with my Android application

I've created an Android application that uses Google Maps API v2.
Can someone tell me if it is possible to download and store map tiles and map data for different areas of the map to be used offline.
The ideal usage for this would be to be able to download the whole of the UK, store it on an SD card and then have my app look on the SD for the relevant map data.
Thanks

The answer pointed by Agil is for the case where you have your own TileProvider (ie you own the data). If you have access to the tiles, then yes, that is the right solution for you.

If you were thinking of downloading Google Maps tiles, then no, the API currently doesn't provide a way to download tiles for offline usage; only the one rendered on screen are cached.

Please refer to this answer . According to that answer, it is possible with Google Maps Android API v2.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM