Examples of zoomToBox()


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

        ViewportModel model = map.getViewportModelInternal();

        manager.setViewportModelInternal(model);

        model.setCRS(map.getViewportModel().getCRS());
        model.zoomToBox(map.getViewportModel().getBounds());

        ProjectUIPlugin.trace(ApplicationGIS.class,
                "Using bounds: " + map.getViewportModel().getBounds(), null); //$NON-NLS-1$

        model.setMapInternal(map);
View Full Code Here

Examples of org.locationtech.udig.project.internal.render.impl.ViewportModelImpl.zoomToBox()

            else {
                // end of the world!
                updateAOIService(null, null);
                bounds = getMap().getBounds(null);
                ViewportModelImpl vmi = (ViewportModelImpl) getMap().getViewportModel();
                vmi.zoomToBox(bounds);
                return;
            }
        }
        else if (isNavigate && (mouseEvent.button == MapMouseEvent.BUTTON1)) {
            selectedLayer = nextLayer != null ? nextLayer : activeLayer;
View Full Code Here

Examples of org.locationtech.udig.project.internal.render.impl.ViewportModelImpl.zoomToBox()

        updateAOIService(selectedLayer,newAOI );

        if (isNavigate) {
            IMap map = selectedLayer.getMap();
            ViewportModelImpl vmi = (ViewportModelImpl) map.getViewportModel();
            vmi.zoomToBox(bounds);
        }
    }

    /*
     * returns an AOILayerStrategy object for quick access
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.