Revision 341 trunk/org.gvsig.app.document.layout2.app/org.gvsig.app.document.layout2.app.mainplugin/src/main/java/org/gvsig/app/project/documents/layout/fframes/FFrameView.java
FFrameView.java | ||
---|---|---|
289 | 289 |
oldEnvelope = mapContext.getViewPort().getEnvelope(); |
290 | 290 |
} |
291 | 291 |
} |
292 |
if (viewMapContext==null) { // disconnect the view from the map |
|
293 |
this.mapContext=null; |
|
294 |
return; |
|
295 |
} |
|
292 | 296 |
try { |
293 | 297 |
if (syncLayers){ |
294 | 298 |
mapContext = |
... | ... | |
329 | 333 |
* Sets the View associated with this FFrameView, which will |
330 | 334 |
* be used to clone the MapContext and the layers. It will |
331 | 335 |
* also used to synchronize the FFrameView with |
332 |
* the associated View, depending on the selected scle type |
|
336 |
* the associated View, depending on the selected scale type
|
|
333 | 337 |
* |
334 | 338 |
* @param viewMapContext |
335 | 339 |
*/ |
... | ... | |
344 | 348 |
if (dvd!=null) { |
345 | 349 |
setViewMapContext(dvd.getMapContext()); |
346 | 350 |
} |
351 |
else { |
|
352 |
setViewMapContext(null); |
|
353 |
} |
|
347 | 354 |
} |
348 | 355 |
|
349 | 356 |
/** |
Also available in: Unified diff