I am using Gmap.net in which I have successfully implemented mbtile map. This works fine in machine when folder GMap.NET is created in "C:\Users\manish.jain\AppData\Local\GMap.NET" for the first time when internet connection is available in the system. At this time; there are multiple folders create as follows:
- DllCache
- GeocoderCache
- IpGeoCacheDB
- leafletjs
- PlacemarkCache
- RouteCache
- TileDBv5
- UrlCache
But when same thing perform in offline mode then only two folders created in the same location as:
- DllCache
- TileDBv5
In this case I got message on every tile of the map as
"Exception:Buffer cannot be null. Paremeter name: buffer"
I have attached snapshot of the same.
My requirement is to do all the map work always in offline mode as in client side there is no internet connection available.
Please let me know meaning and purpose of all these folders and solution of this problem. I have used this line of code for Map's Mode:
MainMap.Manager.Mode = AccessMode.ServerAndCache;
and to load mbtile from defined location as:
MainMap = new Demo.WindowsForms.Map();
MainMap.MapProvider = new MBTilesMapProvider(@"C:\\India.mbtiles");
MainMap.MinZoom = MainMap.MapProvider.MinZoom;
MainMap.MaxZoom = MainMap.MapProvider.MaxZoom;
I have searched a lot for this issue but could not found any solution in google or in stackoverflow. Please Help!