0

Intro

i have my android app which gets you places address and other info when clicked on a point . and also it can create routing between two points.

Problem

the problem is that it only works online . so lets take a case when the user is offline and he want routing then the app is useless.

Requirement

i want my app to cache the map of the area the user is currently in and use this as backup when required.

References

i got some reference from stackoverflow about the tileprovider in andorid. but it is too small for me to able to understand as i am beginner . i want elaborated suggestion how do i add this functionality to my app . i want to add this to my google maps fragment . dont want to use any 3rd party lib .

please do suggest .

Sagar Nayak
  • 2,138
  • 2
  • 19
  • 52

1 Answers1

0

You just need to create your own tileprovider and access tiles locally. This SO question might help.

Community
  • 1
  • 1
abielita
  • 13,147
  • 2
  • 17
  • 59