Cache only, prefetch an ShowImportDialog(), ShowExportDialog()

Topics: Windows Forms
Apr 1, 2012 at 10:58 AM

I created a application based on this greate .net module ( see

But I am confused about the offline functionallity!

I use the following Code in VB to prefetch a area to the cache:

I set the Cache location with:

GMapControl1.CacheLocation = Application.StartupPath

and then

Dim Part As New GMap.NET.TilePrefetcher

    For z = 1 To 12
            Part.Owner = Me
            Part.ShowCompleteMessage = False
            Part.Start(AREA, z1, GMapControl1.MapProvider, 100)
        Next z


It looks that it works, but after I reboot of the system, it looks that the cache is empty!

Also I can not found any CacheData file in the path: "Application.StartupPath"

Can any body explain me how it works and what is the function of  ShowImportDialog() and showExportDialog ???


Thanks a lot



Apr 1, 2012 at 11:32 AM

first, you use old version, and for prefetcher check the source of demos...