|
deegree 2.3 (2010/04/09 10:10 build-4-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.graphics.MapFactory
public class MapFactory
Factory class for creating MapViews, Layers and Themes. RB: Is this class really necessary? it just calls the appropriate constructors.
------------------------------------------------------------------------
| Constructor Summary | |
|---|---|
MapFactory()
|
|
| Method Summary | |
|---|---|
static Layer |
createFeatureLayer(String name)
creates an empty feature layer with EPSG:4326 as default coordinate reference system. |
static Layer |
createFeatureLayer(String name,
CoordinateSystem crs)
creates an empty feature layer. |
static Layer |
createFeatureLayer(String name,
CoordinateSystem crs,
FeatureCollection fc)
creates a complete feature layer. |
static MapView |
createMapView(String name,
Envelope boundingbox,
CoordinateSystem crs,
Theme[] themes,
double pixelsize)
creates a MapView with a name, a boundingbox describing the area coverd by the MapView, a CRS and n Themes. |
static Layer |
createRasterLayer(String name,
GridCoverage raster)
creates a raster layer. |
static Layer |
createRasterLayer(String name,
GridCoverage raster,
GetMap request)
|
static Theme |
createTheme(String name,
Layer layer)
creates a theme with a name, a Layer containing the themes data and an array of styles to be known by the Theme |
static Theme |
createTheme(String name,
Layer layer,
UserStyle[] styles)
creates a theme with a name, a Layer containing the themes data and an array of styles to be known by the Theme |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MapFactory()
| Method Detail |
|---|
public static Layer createFeatureLayer(String name)
throws Exception
name - of the layer
Exception
public static Layer createFeatureLayer(String name,
CoordinateSystem crs)
throws Exception
name - of the layercrs - of the crs
Exception
public static Layer createFeatureLayer(String name,
CoordinateSystem crs,
FeatureCollection fc)
throws Exception
name - of the feature layercrs - of the crs of the feature layerfc - to get the geometries from
Exception
public static Layer createRasterLayer(String name,
GridCoverage raster)
throws Exception
name - name of raster layerraster - the raster to create the layer from.
Exception
public static Layer createRasterLayer(String name,
GridCoverage raster,
GetMap request)
throws Exception
name - raster - request -
Exception
public static Theme createTheme(String name,
Layer layer,
UserStyle[] styles)
name - of the themelayer - the layer to create the theme fromstyles - the styles to set
public static Theme createTheme(String name,
Layer layer)
name - of the themelayer - to use
public static MapView createMapView(String name,
Envelope boundingbox,
CoordinateSystem crs,
Theme[] themes,
double pixelsize)
throws Exception
name - of the mapviewboundingbox - of the mapviewcrs - of the mapviewthemes - of the mapviewpixelsize - used for rendering
Exception
|
deegree 2.3 (2010/04/09 10:10 build-4-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org