Hello,
I am loading a A.TOC (CADRG) file. To be more precise, I am reading the A.TOC and it points me to 412 RPF files located in a sub-folder.
I load each of these RPF files in a RasterLayer.
GroupLayer groupLayer = new GroupLayer();
for(File frame : frames) {
RasterLayer r = new RasterLayer(new Raster(frame.path));
groupLayer.add(r);
}
When I display this groupLayer on the map, it is very slow when all the 412 layers are visible on the map. It is very laggy and struggle to manipulate (zoom, move) the map.
As I zoom into the tiles so that some tiles are out of the sight, it gets a bit better.
Is there a way to improve this performance issue?
Thanks in advance!
JC