Package com.bbn.openmap.event

Examples of com.bbn.openmap.event.ProjectionEvent


            String queryLayerName = (String)it.next();
           
            IWmsLayer wmslayer = (IWmsLayer) wmsLayerByName.get(queryLayerName);
            Layer layer = getTopLayerByName(queryLayerName);
           
            layer.setProjection(new ProjectionEvent(this, projection));
           
            LayerFeatureInfoResponse layerResponse = wmslayer.query(parameters.x, parameters.y);
            featureInfoResponse.add(layerResponse);
        }
       
View Full Code Here


        // Update our target layer. If there is a current projection and this
        // layer is active, we need to pass it along.
        if (getProjection() != null) {
            Layer currentLayer = configureAppropriateLayer(getProjection().getScale());
            fireStatusUpdate(LayerStatusEvent.START_WORKING);
            currentLayer.projectionChanged(new ProjectionEvent((Object) null, getProjection()));
        }
    }
View Full Code Here

     * @param l ProjectionListener
     */
    public synchronized void addProjectionListener(ProjectionListener l) {
        projectionSupport.addProjectionListener(l);
        // Assume that it wants the current projection
        l.projectionChanged(new ProjectionEvent(this, getProjection()));
    }
View Full Code Here

TOP

Related Classes of com.bbn.openmap.event.ProjectionEvent

Copyright © 2018 www.massapicom. 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.