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;
        }
Exemplo n.º 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
     {
     }
 }
Exemplo n.º 5
0
 public MapFile(MapFilesHandler mapFileHandler, string filename)
 {
     _mapFileHandler = mapFileHandler;
     _filename = filename;
     try
     {
         FileStream fs = File.OpenRead(_filename);
         _fileStream = fs;
         buffer = new byte[30];
     }
     catch
     {
     }
 }
Exemplo n.º 6
0
 public BitmapStoreOSMOffline(OSMBinMap.MapFilesHandler mapsHandler)
 {
     _mapsHandler = mapsHandler;
 }
Exemplo n.º 7
0
 public BitmapStoreOSMOffline(OSMBinMap.MapFilesHandler mapsHandler)
 {
     _mapsHandler = mapsHandler;
 }
 public void Dispose()
 {
     if (_mapFilesHandler!=null)
     {
         _mapFilesHandler.Dispose();
         _mapFilesHandler = null;
     }
 }