Revision 3418
trunk/applications/appgvSIG/src/com/iver/cit/gvsig/AddLayer.java | ||
---|---|---|
306 | 306 |
if (lyr != null) { |
307 | 307 |
lyr.setVisible(true); |
308 | 308 |
theView.getMapControl().getMapContext().beginAtomicEvent(); |
309 |
checkProjection(lyr, theView.getMapControl().getViewPort()); |
|
309 | 310 |
theView.getMapControl().getMapContext().getLayers() |
310 | 311 |
.addLayer(lyr); |
311 | 312 |
theView.getMapControl().getMapContext().endAtomicEvent(); |
312 |
checkProjection(lyr, theView.getMapControl().getViewPort()); |
|
313 |
|
|
313 | 314 |
} |
314 | 315 |
/* } else if (fopen.getSelectedTab() == wms) { |
315 | 316 |
String layerName = wms.getLayerName(); |
Also available in: Unified diff