Revision 4940 trunk/extensions/extWMS/src/com/iver/cit/gvsig/fmap/layers/FLyrWMS.java
FLyrWMS.java | ||
---|---|---|
1297 | 1297 |
// </Name> |
1298 | 1298 |
|
1299 | 1299 |
// <Title> |
1300 |
xml.writeTag(WebMapContextTags.TITLE, layer.getTitle().trim());
|
|
1300 |
xml.writeTag(WebMapContextTags.TITLE, getName().trim());
|
|
1301 | 1301 |
// </Title> |
1302 | 1302 |
|
1303 | 1303 |
// <Abstract> |
... | ... | |
1331 | 1331 |
|
1332 | 1332 |
// <StyleList> |
1333 | 1333 |
if (layer.getStyles().size()>0) { |
1334 |
xml.openTag(WebMapContextTags.STYLE_LIST); |
|
1334 |
xml.openTag(WebMapContextTags.STYLE_LIST);
|
|
1335 | 1335 |
for (int j = 0; j < layer.getStyles().size(); j++) { |
1336 | 1336 |
// <Style> |
1337 | 1337 |
FMapWMSStyle st = (FMapWMSStyle) layer.getStyles().get(i); |
... | ... | |
1351 | 1351 |
// <OnlineResource xlink:type="simple" xlink:href="http://globe.digitalearth.gov/globe/en/icons/colorbars/NATIONAL.gif"/> |
1352 | 1352 |
// </OnlineResource> |
1353 | 1353 |
// </LegendURL> |
1354 |
xml.closeTag(); |
|
1354 | 1355 |
// </Style> |
1355 |
xml.closeTag(); |
|
1356 |
|
|
1356 | 1357 |
} |
1358 |
xml.closeTag(); |
|
1357 | 1359 |
} |
1358 | 1360 |
// </StyleList> |
1359 |
if (!mapContextVersion.equals("1.0.0")) {
|
|
1361 |
if (mapContextVersion.compareTo("1.0.0") > 0) {
|
|
1360 | 1362 |
// <DimensionList> |
1363 |
xml.openTag(WebMapContextTags.DIMENSION_LIST); |
|
1361 | 1364 |
// <Dimension> |
1362 | 1365 |
// </Dimension> |
1366 |
xml.closeTag(); |
|
1363 | 1367 |
// </DimensionList> |
1364 | 1368 |
} |
1365 | 1369 |
} else { |
Also available in: Unified diff