deegree 2.2 (2008/12/22 11:33 build-3038-official)

org.deegree.graphics
Interface Layer

All Known Implementing Classes:
AbstractLayer, FeatureLayer, LazyRasterLayer, OWSRasterLayer, RasterLayer

public interface Layer

A Layer is a collection of Features or rasters building a thematic 'unit' waterways or country borders for example. Features or raster can be added or removed from the layer. A Feature or raster can e changed by a modul of the application using the layer because only references to Features or rasters are stored within a layer.

------------------------------------------------------------------------

Version:
$Revision: 9340 $ $Date: 2007-12-27 13:32:12 +0100 (Do, 27 Dez 2007) $
Author:
Andreas Poth

Method Summary
 void addEventController(LayerEventController obj)
          adds an eventcontroller to the MapView that's reponsible for handling events that targets the map.
 Envelope getBoundingBox()
          returns the BoundingBox (Envelope) of Layer.
 CoordinateSystem getCoordinatesSystem()
          returns the coordinate reference system of the MapView
 String getName()
          returns the name of the layer
 void removeEventController(LayerEventController obj)
           
 void setCoordinatesSystem(CoordinateSystem crs)
          sets the coordinate reference system of the MapView.
 

Method Detail

getName

String getName()
returns the name of the layer


getBoundingBox

Envelope getBoundingBox()
returns the BoundingBox (Envelope) of Layer. This is the BoundingBox of the layers data. The BoundingBox of the View maybe larger or smaler


getCoordinatesSystem

CoordinateSystem getCoordinatesSystem()
returns the coordinate reference system of the MapView


setCoordinatesSystem

void setCoordinatesSystem(CoordinateSystem crs)
                          throws Exception
sets the coordinate reference system of the MapView. If a new crs is set all geometries of GeometryFeatures will be transformed to the new coordinate reference system.

Throws:
Exception

addEventController

void addEventController(LayerEventController obj)
adds an eventcontroller to the MapView that's reponsible for handling events that targets the map. E.g.: zooming, panning, selecting a feature etc.


removeEventController

void removeEventController(LayerEventController obj)
See Also:
addEventController(LayerEventController)

deegree 2.2 (2008/12/22 11:33 build-3038-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net