Package org.locationtech.udig.project.internal.render

Examples of org.locationtech.udig.project.internal.render.ViewportModel.zoomToExtent()


            ReferencedEnvelope bounds = (ReferencedEnvelope) layer.getMapInternal().getViewportModel().getBounds();
            if( layer.getMapInternal().getMapLayers().size()==1
                    && !bounds.intersects( (Envelope) layer.getBounds(monitor, viewportModel.getCRS()))){
                oldBounds=bounds;
               
                viewportModel.zoomToExtent();
            }
        monitor.done();
    }

    public void rollback( IProgressMonitor monitor ) throws Exception {       
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.