简体   繁体   中英

how to make maps work offline in google maps api for android?

I am totally new to this api and I was wondering if there is a way that I can use the maps offline. I don't mind the size of the application be large so if there are anyways involved caching or something else size related, it is not a problem

Any suggestions?

ps: if it is not possible in google's api,is there a way to do this with another api form another source which provides a mapping service?

You can try to use osmdroid to work offline with Google Maps. Osmdroid is a replacement for Android's MapView class. It also includes a modular tile provider system with support for numerous online and offline tile sources and overlay support with built-in overlays for plotting icons, tracking location, and drawing shapes.

You can follow this tutorial in how to use it.

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