If you have multiple GeoTiff's loaded and are able to zoom out too far then the scale index parameter can exceed the number of image headers associated with the file.
Would it be best to move line 131
if (scale > 0) scale -= 1;
outside the loop?
Comments: Hi, can you provide tiff file to reproduce the issue? Please answer at https://github.com/DotSpatial/DotSpatial/issues/757
Would it be best to move line 131
if (scale > 0) scale -= 1;
outside the loop?
Comments: Hi, can you provide tiff file to reproduce the issue? Please answer at https://github.com/DotSpatial/DotSpatial/issues/757