Class ImageLayer

All Implemented Interfaces:
JMapEventDispatcher, IImageLayer, ILayer, IRasterLayer, LayerConstants, LayerNode, Serializable, Cloneable, Comparable<Layer>
Direct Known Subclasses:
AdvancedImageLayer

public class ImageLayer extends RasterLayer implements IImageLayer
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • toLayerInfo

      public LayerInfo toLayerInfo()
      Specified by:
      toLayerInfo in class Layer
    • clone

      public Object clone()
      Returns a deep clone of the current LayerInfo instance.
      Specified by:
      clone in interface ILayer
      Specified by:
      clone in interface LayerNode
      Specified by:
      clone in class Layer
      Returns:
      a clone of the current instance.
    • getInfoReportParameters

      public Map getInfoReportParameters(JMapClientInfoReport infoReport, Point wcPoint, K2DTransform t)
      Specified by:
      getInfoReportParameters in class RasterLayer
    • draw

      public void draw(GraphicsRef gr, ViewState vs, OrientedRectangle region, double scale, DrawParameters parameters)
      Description copied from class: Layer
      Draws layer contained in the specified region to the specified graphics object and applying the specified transformation.
      Specified by:
      draw in class Layer
      Parameters:
      gr - the graphics wrapper object to use.
      vs - the view state that provides context information to draw the layer.
      region - the world coordinate region to redraw.
      scale - the scale of the current View.
      parameters - draw parameters.
    • setRawImage

      protected void setRawImage(byte[] rawImage, Rectangle bounds, boolean fireEvent)
      Specified by:
      setRawImage in class RasterLayer
    • loadData

      public void loadData(Geometry bounds, boolean sync)
      NOT YET IMPLEMENTED
      Specified by:
      loadData in class Layer
      Parameters:
      bounds - the geometry used to delimit the bounds
      sync - whether his method is synchronized