I'm developing an android app using google maps android sdk v2 and want to allow users to download maps and use them offline.
Before anyone comments that it's violating google maps' terms, I can tell you it's ok to download a small amount of tiles specifically for this use case (see section 10.5.d in their terms here).
This is the link
http://mt1.google.com/vt/lyrs=y&x=1325&y=3143&z=13
lyrs parameters are :
y = hybrid
s = satelite
t = train
m = map
By Overriding getTile
in your TileProvider
, You get the needed X and Y and Zoom. there is no need to do anything.
@Override
public Tile getTile(int x, int y, int zoom) {
// DO YOUR STUFF HERE
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With