Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
View Poll Results: Is caching of Google Maps tiles possible in Android application?
Yes 0 0%
Yes but using workaround 0 0%
Yes but should be legal agreement 0 0%
No 1 100.00%
Multiple Choice Poll. Voters: 1. You may not vote on this poll

 
Post Reply+
Tip us?
 
Ashish Upadhyay
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 6
Join Date: Jul 2011
Question [Q] Caching Google Map Tiles into android application

Hi

I am developing an android map based application. I am using Google Map and it is working perfectly as per my expectation apart from the following issue.

Issue- Whenever I launched my application, the application will load the tile again and again, which takes time, even it is the same location.

For this I am thinking that is there any way I can store few amount of tiles into cache so that when user comes to application, it can load map tiles from the cache, as Map application in android does.

or

I can use the cached map tile of Map application into my application, which is very hypothetical thought.

I have read about Brut but not sure how it will help in my context.

So If any body have any suggestions or feedback will be appreciated.

Thank you

Regards
Ashish
 
Mickets73
Old
#2  
Member
Thanks Meter 2
Posts: 36
Join Date: Sep 2011
Location: Rio
Quote:
Originally Posted by Ashish Upadhyay View Post
Hi

I am developing an android map based application. I am using Google Map and it is working perfectly as per my expectation apart from the following issue.

Issue- Whenever I launched my application, the application will load the tile again and again, which takes time, even it is the same location.

For this I am thinking that is there any way I can store few amount of tiles into cache so that when user comes to application, it can load map tiles from the cache, as Map application in android does.

or

I can use the cached map tile of Map application into my application, which is very hypothetical thought.

I have read about Brut but not sure how it will help in my context.

So If any body have any suggestions or feedback will be appreciated.

Thank you

Regards
Ashish
Google Maps is nice. But, as a developer, consider using other map sources. Check the app Locus Pro: it's the best maps app for Android that I have seen. It uses a number of map sources, such as OpenMap, MapQuest, etc.

Locus allows the user to download maps to keep offline, and also has an option to cache all maps that are loaded online. That is: the user cache just grows and grows for offline use, while the user can also choose to download maps for cities or locations, all for offline use.

There is an open-source app called Mobile Atlas Creator (aka MOBAC), that allows the user to download (via PC) maps from various sources and in to various formats, to be used offline with apps for Android, iOS, etc. For instance, once can download maps in the same formats used by Locus Pro, RMaps, etc. (I used to use this, but now I download maps from within Locus Pro).

So, my point: Google Maps are really nice. But consider other map sources, and also offer the user an option to select the folder where maps are kept. So a user that already uses Locus can use the same cache for your application.

it makes no sense for several apps to use maps, but each one have to download them separately and not be able to share them.
 
Post Reply+
Tags
android, caching, google map, techniques
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...