if (executor.getState() == IRenderer.RENDERING)
return;
if (executor.getState() != IRenderer.DONE || executor.dirty) {
RenderManager renderManager = (RenderManager) layer.getMapInternal()
.getRenderManager();
renderManager.refresh(layer, null); //ensures the entire layer and all tiles/selection layers are refreshed
//executor.getRenderer().setState(RENDER_REQUEST);
} else {
RenderManager renderManager = (RenderManager) layer.getMapInternal()
.getRenderManager();
if (renderManager != null) {