Revision 42775 trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app/org.gvsig.app.mainplugin/src/main/java/org/gvsig/app/project/documents/view/BaseViewDocument.java
BaseViewDocument.java | ||
---|---|---|
42 | 42 |
import org.gvsig.app.project.documents.DocumentManager; |
43 | 43 |
import org.gvsig.app.project.documents.view.info.gui.HTMLInfoToolPanel; |
44 | 44 |
import org.gvsig.fmap.dal.DataStore; |
45 |
import org.gvsig.fmap.geom.primitive.Envelope; |
|
45 | 46 |
import org.gvsig.fmap.mapcontext.MapContext; |
46 | 47 |
import org.gvsig.fmap.mapcontext.events.ErrorEvent; |
47 | 48 |
import org.gvsig.fmap.mapcontext.events.listeners.ErrorListener; |
... | ... | |
330 | 331 |
} |
331 | 332 |
return false; |
332 | 333 |
} |
334 |
|
|
335 |
public void center(Envelope envelope) { |
|
336 |
this.getMapContext().getViewPort().setEnvelope(envelope); |
|
337 |
} |
|
333 | 338 |
} |
Also available in: Unified diff