Revision 3520 trunk/libraries/libRemoteServices/src/org/gvsig/remoteClient/wms/WMSClient.java
WMSClient.java | ||
---|---|---|
143 | 143 |
return names; |
144 | 144 |
} |
145 | 145 |
|
146 |
// /** |
|
147 |
// * Adds a Layer object to the vector of layers of this LayerSet |
|
148 |
// */ |
|
149 |
// public void addLayer(WMSLayer layer) |
|
150 |
// { |
|
151 |
// String layerName = layer.getName(); |
|
152 |
// |
|
153 |
// if (layerName == null) |
|
154 |
// { |
|
155 |
// throw new RuntimeException("Error: attempt to add a nameless layer"); |
|
156 |
// } |
|
157 |
// |
|
158 |
// // We use the lower case version of the name as a key for the hash map. |
|
159 |
// layerName = layerName.toLowerCase(); |
|
160 |
// if (layers == null) |
|
161 |
// { |
|
162 |
// layers = new TreeMap(); |
|
163 |
// } |
|
164 |
// layers.put(layerName, layer); |
|
165 |
// } |
|
166 |
|
|
167 | 146 |
/** |
168 | 147 |
* <p>Gets the image formats available in the Service to retrieve the maps</p> |
169 | 148 |
* @return a vector with all the available formats |
Also available in: Unified diff