Revision 3775 trunk/libraries/libRemoteServices/src/org/gvsig/remoteClient/wms/WMSProtocolHandler.java
WMSProtocolHandler.java | ||
---|---|---|
353 | 353 |
*/ |
354 | 354 |
public String getPartialQuery(WMSStatus status) |
355 | 355 |
{ |
356 |
String req = "LAYERS=" + Utilities.Vector2CS(status.getLayerNames()) + |
|
357 |
"&STYLES=" + Utilities.Vector2CS(status.getStyles()) + |
|
358 |
"&SRS=" + status.getSrs() + |
|
356 |
String req = "LAYERS=" + Utilities.Vector2CS(status.getLayerNames()); |
|
357 |
if (status.getStyles().size() > 0 ) |
|
358 |
req = req + "&STYLES=" + Utilities.Vector2CS(status.getStyles()); |
|
359 |
|
|
360 |
req = req + "&SRS=" + status.getSrs() + |
|
359 | 361 |
"&BBOX=" + status.getExtent().getMinX()+ "," + |
360 | 362 |
status.getExtent().getMinY()+ "," + |
361 | 363 |
status.getExtent().getMaxX()+ "," + |
Also available in: Unified diff