I am currently working on an app that requires the ability to temporarily download Google Maps for offline use.

As suggested here using tileprovider I can render my own tiles for offline use.

Suppose I have the following location lat lng(10,10) and zoom level 2, how can I get all tiles around a distance of 1km near this location .

As shown in this post I already know the equation required in order to convert latitude, longitude to a tile coordinates x,y,z but my problem is I don't know how to figure out what are all the tiles positions around a specific location of a range of 1km for example.

  • 1
    Google's ToS do not allow this. – bugmenot123 Nov 29 '18 at 13:34
  • 1
    actually it does temporary – has19 Nov 29 '18 at 13:40
  • Can you link me to that? – bugmenot123 Nov 29 '18 at 14:03
  • 2
    developers.google.com/maps/terms-20180207 . Nocaching or storage. You will not pre-fetch, cache, index, or store anyContent to be used outside the Service,except that youmay store limited amounts ofContent solely for the purpose of improving the performance of your MapsAPI Implementation due to network latency (and not for the purpose ofpreventingGoogle from accurately tracking usage), and onlyif such storage: is temporary (and in no event more than 30 days); secure does not manipulate or aggregate any part of the Content or Service; and does not modify attribution in any way. – has19 Nov 29 '18 at 14:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.