- This topic has 5 replies, 4 voices, and was last updated 10 years, 11 months ago by cpmac61.
-
AuthorPosts
-
lemorlennyMemberHi,
I need to show a map portion in a google maps widgets, I verified that this area is saved in cache and when I go in offline mode I can navigate it normally .
I would like so save this cached map portion to include it in my app so to permit a basic navigation when users are in offline mode.
Where’s saved the cache file in the Android device?
How can I include this file in my app?Many thanks in advance.
Paolo
support-octavioMemberHi Paolo,
I have discussed this with the dev team and there are a couple of issues starting with the Google terms of use prohibit such practice. Thus we can not support this request.
lemorlennyMemberI see, thanks anyway, I’ll trying to implement something else like OpenStreetMap.
Paolo
cpmac61MemberHello
Insee this is quite an old thread but i wonder if you had any luck in finding an answer.
I actually found a working example of doing this on a html page.http://wiki.openstreetmap.org/wiki/OpenLayers_Local_Tiles_Example
I was pretty amazed as this question is asked a lot and most replies say roughly ” save the tiles, set up a local server then read the tiles” which of course leads back to the original question unanswered.
I’m getting towards what I want to do on a html page but the next problem will be to transport that into mobione. The only way i see at the moment is to copy all the relevant openstreet functions into the app-custom.js file. Or can the map widget be coerced into using local files, or will the map widget be developped to do this task which is apparently looked for by many users.
support-michaelKeymasterAt this time we have no plans to provide caching beyond what google api supports in real time. I strongly recommend everyone read and understand the Google terms of use that they agree to in order to have the map widget integrated into they app.
cpmac61MemberThanks for the reply.
Openstreet maps don.t have the same restrictions as google.
The other point is that for users with no SIM in a tablet or those that don.t wish to pay roaming charges, the map inside the app is the only option. -
AuthorPosts