IlvMapAdapter adapter(0.001); IlvGeoTIFFTileLoader* loader = new IlvGeoTIFFTileLoader(fileName, &adapter); IlvMapsError status = loader->getInitStatus(); if(status != IlvMaps::NoError()) return status; IlvTiledLayer* tiledLayer = new IlvTiledLayer(getTileOrigin()); tiledLayer->setTileLoader(loader); |