// in memory grid coverage (example a temporary image froma WPS)
this.latencyMetric = LATENCY_MEMORY;
this.timeToDrawMetric = DRAW_IMAGE_MEMORY;
}
else if (id.isFile() ){
String filename = id.toBaseFile();
if( filename.toLowerCase().endsWith("jpg") ||
filename.toLowerCase().endsWith("jpeg")){
this.latencyMetric = LATENCY_LOCAL;
this.timeToDrawMetric = DRAW_IMAGE_COMPRESSED;
}