if (resource == null || !resource.canResolve(JGTtmsGeoResource.class)) {
getContext().setStatus(ILayer.DONE);
return;
}
JGTtmsGeoResource jgtTmsGeoResource = resource.resolve(JGTtmsGeoResource.class, monitor);
JGTtmsProperties tmsProperties = jgtTmsGeoResource.getTmsProperties();
RasterSymbolizer rasterSymbolizer = CommonFactoryFinder.getStyleFactory(null).createRasterSymbolizer();
// double scale = getContext().getViewportModel().getScaleDenominator();
double widthMeters = mercatorREnv.getWidth();