StyleBlackboard styleBlackboard = layer.getStyleBlackboard();
styleBlackboard.put(SLDContent.ID, style);
}
map.getLayersInternal().add(layer);
if( createRenderManager){
map.setRenderManagerInternal(new RenderManagerImpl(){
@Override
public boolean isViewer() {
return true;
}