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
Related
I have watched tutorials on how to integrate google maps in an android application. Before I put google maps in my android application, I want to know if you need internet connection to run the application that runs google maps?
--------------------Answer to question above has been solved---------------------
I have another question. What are the things that an offline map can do? Can the offline map do pathfinding? Can you get coordinates, distances and other map data from it? Or is it just a map that can only be viewed?
If you have watched tutorials about that you might have noted that the maps api needs permission.INTERNET which is also obvious as the maps need to be loaded from Google. How else should they come to your device or simulator?
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 :)
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.
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.
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