public void Dispose()
 {
     if (_mapFilesHandler != null)
     {
         _mapFilesHandler.Dispose();
         _mapFilesHandler = null;
     }
 }
        public MapControlFactoryOSMOffline()
            : base()
        {
            _mapFilesHandler = new OSMBinMap.MapFilesHandler(this);
            _bitmapStore = new BitmapStoreOSMOffline(_mapFilesHandler);
            _searchProvider = new SearchProviderOSM();
            _tileGenerator = new TileGeneratorOSM(this);
            _tilePanel = new TilePanel(this);

            OSMBinFilesVisibility = Visibility.Visible;
        }
        public MapControlFactoryOSMOffline()
            : base()
        {
            _mapFilesHandler = new OSMBinMap.MapFilesHandler(this);
            _bitmapStore     = new BitmapStoreOSMOffline(_mapFilesHandler);
            _searchProvider  = new SearchProviderOSM();
            _tileGenerator   = new TileGeneratorOSM(this);
            _tilePanel       = new TilePanel(this);

            OSMBinFilesVisibility = Visibility.Visible;
        }
예제 #4
0
 public MapFile(MapFilesHandler mapFileHandler, string filename)
 {
     _mapFileHandler = mapFileHandler;
     _filename       = filename;
     try
     {
         FileStream fs = File.OpenRead(_filename);
         _fileStream = fs;
         buffer      = new byte[30];
     }
     catch
     {
     }
 }
예제 #5
0
파일: MapFile.cs 프로젝트: gahadzikwa/GAPP
 public MapFile(MapFilesHandler mapFileHandler, string filename)
 {
     _mapFileHandler = mapFileHandler;
     _filename = filename;
     try
     {
         FileStream fs = File.OpenRead(_filename);
         _fileStream = fs;
         buffer = new byte[30];
     }
     catch
     {
     }
 }
예제 #6
0
 public BitmapStoreOSMOffline(OSMBinMap.MapFilesHandler mapsHandler)
 {
     _mapsHandler = mapsHandler;
 }
예제 #7
0
 public BitmapStoreOSMOffline(OSMBinMap.MapFilesHandler mapsHandler)
 {
     _mapsHandler = mapsHandler;
 }
 public void Dispose()
 {
     if (_mapFilesHandler!=null)
     {
         _mapFilesHandler.Dispose();
         _mapFilesHandler = null;
     }
 }