Hi,
I am developing a desktop application in C#.NET. I need to use Google Map in my application. For my case, the Google map should be loaded and I should be able to mark some places in the map, even if there is no internet connection available. Will it be possible if I make use of MapSuite Desktop Edition in my application?
Please help me. Its an urgent task…
Thanks in advance
Binta Prasad
Will it possible to view the map if there is no internet connection available in MapSuite Desktop Edition?
Hi Binta,
Thanks for your post,and welcome to MapSuite World. Would you please try to use googleOverlay.TileCache with following code:
private void DisplayMap_Load(object sender, EventArgs e)
{
GoogleMapsOverlay googleOverlay = new GoogleMapsOverlay();
googleOverlay.TileCache = new FileBitmapTileCache(@"c:\cache");
googleOverlay.TileCache.CacheId = "googleCache";
Map1.CurrentExtent = new RectangleShape(-10000000, 10000000, 10000000, -10000000);
Map1.Overlays.Add(googleOverlay);
Map1.Refresh();
}
When online, googleOverlay.TileCache Could be used to precache google images, then when offline, the precached extent could be displayed.
if you have any more question , please feel free to let us know.
Best Regards
Summer