Revision 3445
trunk/applications/appgvSIG/src/com/iver/cit/gvsig/AddLayer.java | ||
---|---|---|
242 | 242 |
} |
243 | 243 |
|
244 | 244 |
|
245 |
theView.getMapControl().getMapContext().getLayers() |
|
246 |
.addLayer(lyr); |
|
247 | 245 |
|
248 | 246 |
try { |
249 | 247 |
|
... | ... | |
251 | 249 |
// el tipo de shape que tenga. Tampoco s? si es aqu? el |
252 | 250 |
// sitio adecuado, pero en fin.... |
253 | 251 |
checkProjection(lyr, theView.getMapControl().getViewPort()); |
252 |
theView.getMapControl().getMapContext().getLayers() |
|
253 |
.addLayer(lyr); |
|
254 |
|
|
254 | 255 |
if (lyr instanceof FLyrVect) |
255 | 256 |
{ |
256 | 257 |
FLyrVect lyrVect = (FLyrVect) lyr; |
Also available in: Unified diff