public class MapLayer extends Object
| Constructor and Description |
|---|
MapLayer(String name,
String title,
Collection srsList,
Collection subLayers,
BoundingBox bbox)
Creates a new instance of MapLayer
|
| Modifier and Type | Method and Description |
|---|---|
BoundingBox |
getBoundingBox()
Gets the LatLonBoundingBox for this layer.
|
Collection |
getFullSRSList() |
ArrayList |
getLayerList()
Returns a list of all the layers in order of a root-left-right traversal of
the layer tree.
|
String |
getName()
Gets the name of this Layer.
|
MapLayer |
getParent()
Gets the parent MapLayer of this MapLayer.
|
ArrayList |
getSRSList()
Returns a copy of the list of supported SRS's.
|
MapLayer |
getSubLayer(int n)
Returns the sub-layer at the specified index.
|
ArrayList |
getSubLayerList()
Gets a copy of the list of the sublayers of this layer.
|
String |
getTitle()
Gets the title of this MapLayer.
|
int |
numSubLayers()
Returns the number of sub-layers that this MapLayer has.
|
String |
toString()
Returns a somewhat nicely-formatted string representing all of the details of
this layer and its sub-layers (recursively).
|
public MapLayer(String name, String title, Collection srsList, Collection subLayers, BoundingBox bbox)
public int numSubLayers()
public MapLayer getSubLayer(int n)
n - the index of the sub-layer to returnpublic ArrayList getSubLayerList()
public ArrayList getLayerList()
public String getTitle()
public String getName()
public MapLayer getParent()
public BoundingBox getBoundingBox()
public ArrayList getSRSList()
public Collection getFullSRSList()
public String toString()
Copyright © 2015. All rights reserved.