| java.lang.Object com.vividsolutions.wms.MapLayer
MapLayer | public class MapLayer (Code) | | Represents a WMS Layer.
author: Chris Hodgson chodgson@refractions.net |
getAllBoundingBoxList | public ArrayList getAllBoundingBoxList()(Code) | | All BoundingBoxesIf there is no BoundingBox for this MapLayer the parent-BoundingBoxwill be taken. author: uwe dalluege |
getBoundingBox | public BoundingBox getBoundingBox()(Code) | | Gets the LatLonBoundingBox for this layer.
If this layer doesn't have a LatLonBoundingBox specified, we recursively
ask the parent layer for its bounding box. The WMS spec says that each
layer should either have its own LatLonBoundingBox, or inherit one from
its parent, so this recursive call should be successful. If not, null is
returned. However, if a bounding box is returned, it will have the
SRS string "LatLon".
Note that the BoundingBox is not necessarily "tight".
the BoundingBox for this layer, or null if the BBox is unknown |
getBoundingBoxList | public ArrayList getBoundingBoxList()(Code) | | Gets the BoundingBoxList for this Layer
the BoundingBoxList containing the BoundingBoxes |
getFullSRSList | public Collection getFullSRSList()(Code) | | a list of the SRS list of this MapLayer and its ancestors |
getLatLonBoundingBox | public BoundingBox getLatLonBoundingBox()(Code) | | I think this name is better [uwe dalluege]
Gets the LatLonBoundingBox for this layer.
If this layer doesn't have a LatLonBoundingBox specified, we recursively
ask the parent layer for its bounding box. The WMS spec says that each
layer should either have its own LatLonBoundingBox, or inherit one from
its parent, so this recursive call should be successful. If not, null is
returned. However, if a bounding box is returned, it will have the
SRS string "LatLon".
Note that the BoundingBox is not necessarily "tight".
the BoundingBox for this layer, or null if the BBox is unknown |
getLayerList | public ArrayList getLayerList()(Code) | | Returns a list of all the layers in order of a root-left-right traversal of
the layer tree.
a list of all the layers in order of a root-left-right traversal ofthe layer tree. |
getName | public String getName()(Code) | | Gets the name of this Layer.
The name of a layer is its 'back-end', ugly name, which generally
shouldn't need to be used by others but is available anyway.
Layers which do not have any data associated with them, such as container
or grouping layers, might not have a name, in which case null will be
returned.
the name of the layer, or null if it doesn't have a name |
getParent | public MapLayer getParent()(Code) | | Gets the parent MapLayer of this MapLayer.
the parent layer of this MapLayer, or null if the layer has no parent. |
getSRSList | public ArrayList getSRSList()(Code) | | Returns a copy of the list of supported SRS's. Each SRS is a string in the
format described by the WMS specification, such as "EPSG:1234".
a copy of the list of supported SRS's |
getSubLayer | public MapLayer getSubLayer(int n)(Code) | | Returns the sub-layer at the specified index.
Parameters: n - the index of the sub-layer to return the MapLayer sub-layer at the specified index |
getSubLayerList | public ArrayList getSubLayerList()(Code) | | Gets a copy of the list of the sublayers of this layer.
a copy of the Arraylist containing all the sub-layers of this layer |
getTitle | public String getTitle()(Code) | | Gets the title of this MapLayer.
The title of a layer should be used for display purposes.
the title of this Layer |
numSubLayers | public int numSubLayers()(Code) | | Returns the number of sub-layers that this MapLayer has.
the number of sub-layers that this MapLayer has |
toString | public String toString()(Code) | | Returns a somewhat nicely-formatted string representing all of the details of
this layer and its sub-layers (recursively).
a somewhat nicely-formatted string representing all of the details ofthis layer and its sub-layers (recursively). |
|
|