Can we cache google map programmatically? - android

Few days ago I search information how to cache google map programmatically. Google map api doesn't provide api to cache google map. I saw TOS https://developers.google.com/maps/terms
Do I understand correctly?
I got requirement to show map offline. OSM is the way I can use instead. Is it the right way?
But yesterday I found the app "new my Maps" can cache google map.
This app is on apple store. How does this app cache map for offline?

This blog cache google tiles and display by osmdroid

Hieyy Kingkan Banyenngam
This link may right solution for your problem:-
Check it out
Please let me know if it didn't work.
Spartacus:- Thanks :)

Related

How to show google map offline?

How i can show google map offline?
I have gone through various stackoverflow question and answer but not able to find solution.
I have implemented com.google.android.gms.maps.MapFragment and i am showing direction from one point to other. I have got coordinates from GMapV2Direction. Now i want to show this as offline.
Following are the links i got from stackoverflow but not useful.
Google Map Offline
TileProvider using local tiles
Plese help!!!
See this solution or this one. Basically you just create your own tileprovider and access tiles locally. Totally doable with the v2 api.
API Reference
There's some false information floating around out there that the v2 google maps api requires an internet connection. There was a but where the api would require a single access after app install to verify with Google Play services, but I believe this has been fixed. See this and this

Storing Google Maps data for use offline with my Android application

I've created an Android application that uses Google Maps API v2.
Can someone tell me if it is possible to download and store map tiles and map data for different areas of the map to be used offline. The ideal usage for this would be to be able to download the whole of the UK, store it on an SD card and then have my app look on the SD for the relevant map data.
Thanks
The answer pointed by Agil is for the case where you have your own TileProvider (i.e. you own the data). If you have access to the tiles, then yes, that is the right solution for you.
If you were thinking of downloading Google Maps tiles, then no, the API currently doesn't provide a way to download tiles for offline usage; only the one rendered on screen are cached.
Please refer to this answer. According to that answer, it is possible with Google Maps Android API v2.

Is there a way to cache map locally

Am using Google Maps Android V2 in my application. It take too much time to load. do make use of markers to point some particular location. So I was wondering is there a way to cache map or to store a particular area.Is it possible in my app..??
EDIT
In default Maps app we can cache the on screen map. How do they do that..??
I would advise against such actions(caching the map somehow and displaying it) since it is forbidden by Google terms of use.
There isnt an offline version of Google maps for android(or i am not aware of it, since i couldnt find it when needed a year ago)...the solution is to go with different map api if you really require this.
Are you doing some extensive calculations for your map marker or database work, etc..?
For example i didnt experience slow loading times with google maps when using regular data service internet and loading around 350 map markers on predefined positions...
Please check out this answer, how to use google map in offline app. This is based on osmdroid and also be aware of Google terms of use googleMap.

Does Google Maps API v2 Android support offline maps?

I'm trying to understand what i'm asking for...
I googled around with no success (of course, starting from official google developer site).
The result i would like achieve is the same behavior official Maps app from Google has, choosing to "make available offline" a part of the map and saving a selected area.
Does anyone know how to do it (if possible)? Can you point me in the right direction?
Thank you!
The Maps V2 API, at this time, does not give us any ability to control offline maps.

Create Navigation with offline Google Maps

I was just wondering as to how to download/create a map out of Google Maps in order for it to work offline.
I was thinking of creating a navigation system with offline Google Maps, but I don't know how to get a copy of Google Map to work offline then embed it with my own application.
Please help me on this one.. really need it badly...
http://code.google.com/apis/maps/terms.html
Please read section 10.1.3
Downloading and creating a derivative work is against the terms of service.
it is already builtin i think ?
google maps has now a local cache for maps , still not sure what we can do with it
http://www.youtube.com/watch?v=J6sNyKzGOe8

Categories

Resources