Class PGISCanvas

    • Field Detail

      • msg

        protected simphony.util.messages.MessageCenter msg
        Deprecated.
      • currentListener

        protected org.piccolo2d.event.PInputEventListener currentListener
        Deprecated.
      • toolLayer

        protected org.piccolo2d.PLayer toolLayer
        Deprecated.
      • context

        protected org.geotools.map.MapContent context
        Deprecated.
      • layers

        protected Map<org.geotools.map.Layer,​PGisLayer> layers
        Deprecated.
      • scaleDenominator

        protected double scaleDenominator
        Deprecated.
      • ellipse

        protected org.geotools.referencing.datum.DefaultEllipsoid ellipse
        Deprecated.
      • layerListening

        protected org.piccolo2d.PLayer layerListening
        Deprecated.
      • mapLayer

        protected org.piccolo2d.PLayer mapLayer
        Deprecated.
    • Constructor Detail

      • PGISCanvas

        public PGISCanvas​(org.geotools.map.MapContent context)
        Deprecated.
        Create and new Canvas for the given context.
        Parameters:
        context - The context to be displayed
    • Method Detail

      • getCRS

        public org.opengis.referencing.crs.CoordinateReferenceSystem getCRS()
        Deprecated.
      • zoomToPreviousExtent

        public void zoomToPreviousExtent()
        Deprecated.
      • getScaleDenominator

        public double getScaleDenominator()
        Deprecated.
      • zoomToAreaOfInterest

        public void zoomToAreaOfInterest()
        Deprecated.
        Zoom the map to the area of interest specified in the MapContext.
      • setAreaOfInterest

        public void setAreaOfInterest​(org.geotools.geometry.jts.ReferencedEnvelope aoe)
        Deprecated.
      • setEventHandler

        public void setEventHandler​(org.piccolo2d.event.PInputEventListener listener)
        Deprecated.
        Set the tool which the map is listening to.
        Parameters:
        listener - the new tool to listen to.
      • addLayerEventHandler

        public void addLayerEventHandler​(String layerName,
                                         org.piccolo2d.event.PInputEventListener listener)
        Deprecated.
      • getCurrentEventHandler

        public org.piccolo2d.event.PInputEventListener getCurrentEventHandler()
        Deprecated.
      • getToolLayer

        public org.piccolo2d.PLayer getToolLayer()
        Deprecated.
        Gets the layer on which tools should draw.
        Returns:
        the layer on which tools should draw.
      • getMapLayer

        public org.piccolo2d.PLayer getMapLayer()
        Deprecated.
        Gets the layer that contains the individual map layers.
        Returns:
        the layer that contains the individual map layers.
      • layerAdded

        public void layerAdded​(org.geotools.map.MapLayerListEvent event)
        Deprecated.
        Specified by:
        layerAdded in interface org.geotools.map.MapLayerListListener
      • layerChanged

        public void layerChanged​(org.geotools.map.MapLayerListEvent event)
        Deprecated.
        Specified by:
        layerChanged in interface org.geotools.map.MapLayerListListener
      • layerMoved

        public void layerMoved​(org.geotools.map.MapLayerListEvent event)
        Deprecated.
        Specified by:
        layerMoved in interface org.geotools.map.MapLayerListListener
      • layerRemoved

        public void layerRemoved​(org.geotools.map.MapLayerListEvent event)
        Deprecated.
        Specified by:
        layerRemoved in interface org.geotools.map.MapLayerListListener
      • repaint

        public void repaint()
        Deprecated.
        Overrides:
        repaint in class Component
      • mapBoundsChanged

        public void mapBoundsChanged​(org.geotools.map.MapBoundsEvent event)
        Deprecated.
        Specified by:
        mapBoundsChanged in interface org.geotools.map.MapBoundsListener
      • layerPreDispose

        public void layerPreDispose​(org.geotools.map.MapLayerListEvent event)
        Deprecated.
        Specified by:
        layerPreDispose in interface org.geotools.map.MapLayerListListener