Nice Idea

Jun 16, 2009 at 10:59 AM
Edited Jun 16, 2009 at 11:01 AM

Hello Guys,

Special thanks to Radioman for making this cooool dll, I really like it.

I had an idea and I wanted to discuss it with you as I am not sure if it is a good or a bad one

Right now, in this dll there is caching, which prevent you to download the same image again if you already opened it (as far as I know). Ok, right now people don't want to see the whole GLOBE ofcourse if we are talking business, they want to see a specific country. For me EGYPT!! :D Now why don't we enable the user to work in OFFLINE mode without the need of internet connection and download all the images of EGYPT that Google Maps did, and put it on the computer or in a network. This way the performance will be faster (I guess) and also no need for an internet connection, but its disadvantage is, it will take a HUGE size on the HD.

So what do you guys think about it??

Jun 16, 2009 at 11:27 AM


AFAIK, this is already supported by using a specific database. You could write a downloader app that stores all the tiles in the db, then access it without internet. You could also install the db locally, in case you do not want to use any network at all.

Br, Marcel

Jun 16, 2009 at 12:40 PM

there is integrated simple maps prefetcher in demos, go to your wanted area, the map view is the area that prefetcher will cache, and just run. When cacheing is done, you can put all data to MS SQL server and in your local network application use it as:

GMaps.Instance.Mode = AccessMode.CacheOnly;

// add your custom map db provider
MSSQLPureImageCache ch = new MSSQLPureImageCache();
   ch.ConnectionString = @"Data Source=SQL2008\SQLSRV08;Initial Catalog=PFleet;Persist Security Info=False;User ID=pfleet;Password=pfleet";
   GMaps.Instance.ImageCacheSecond = ch;

So your application first checks in local db, if data is missing then it looks in ms sql server and cache data localy to speed access next time. The GREAT thing is that when some user browse 'freash' area it stores all data back to ms sql server, so all users instantly can access the same area without using global google/ms/yahoo servers! This technique allows you to deploy your application without cache and users them self fills local&network cache if needed.

..if there is few users you can have only premaded local db. The db size is not so much big, medium city with all levels of zoom uses just ~100MB.

Jun 20, 2009 at 1:42 PM
Edited Jun 20, 2009 at 1:43 PM

can you add the function that clear the buffer in the map view, but not the whose buffer because sometimes i want update the map in some special area.

Jun 20, 2009 at 2:03 PM