How to save maps for offline viewing

For the application I'm currently developing, I would like to save maps for offline viewing. Since Google maps now support saving maps, can someone tell me if it is really possible to implement the same thing in our application and is there any specific API for this? Any information would be helpful.

early

+4
source share
1 answer

MapView and Android Maps are two separate beasts. MapViews I donโ€™t even think of using the same renderer as Google Maps. There is some โ€œoffline workโ€ for each application that you can see by looking at your data / data / directory. For example, you will find some cached fragments in this directory after viewing some maps. However, this is mainly an optimization for panning and zooming. This is not very useful for the offline map support function, as the cache will delete tiles very quickly.

True offline maps are not supported. The features of Google Maps were not ported to MapView or any of the sdk maps in Android applications. This api library has not even been updated since 2009 :( This is very sad.

0
source

Source: https://habr.com/ru/post/1438361/


All Articles