Revision 3402 trunk/libraries/libRemoteServices/src/org/gvsig/remoteClient/wms/wms_1_1_1/WMSProtocolHandler1_1_1.java
WMSProtocolHandler1_1_1.java | ||
---|---|---|
171 | 171 |
{ |
172 | 172 |
WMSLayer1_1_1 lyr = new WMSLayer1_1_1(); |
173 | 173 |
lyr.parse(parser); |
174 |
if((lyr != null) && (lyr.getName() != null)) |
|
175 |
{ |
|
174 |
//if((lyr != null) && (lyr.getName() != null))
|
|
175 |
//{
|
|
176 | 176 |
layers.put(lyr.getName(), lyr); |
177 | 177 |
//Add all the SRS that the layer supports to the WMSProtocolHandler if they dont exist already |
178 | 178 |
for (i=0;i<lyr.getAllSrs().size();i++) |
... | ... | |
182 | 182 |
this.srs.add( lyr.getAllSrs().elementAt(i)); |
183 | 183 |
} |
184 | 184 |
} |
185 |
} |
|
185 |
//}
|
|
186 | 186 |
//else |
187 | 187 |
//TODO: a layer without title is a parent layer.... not queryable |
188 | 188 |
} |
Also available in: Unified diff