Revision 5411 trunk/extensions/extWMS/src/com/iver/cit/gvsig/fmap/layers/FLyrWMS.java

View differences:

FLyrWMS.java
1406 1406
							xml.writeTag(WebMapContextTags.TITLE, "default");
1407 1407
							// </Title>
1408 1408
							
1409
							// <LegendURL width="180" format="image/gif" height="50">
1410
							xmlAttrs.put(WebMapContextTags.WIDTH, "0");
1411
							xmlAttrs.put(WebMapContextTags.HEIGHT, "0");
1412
							xmlAttrs.put(WebMapContextTags.FORMAT.toLowerCase(), "image/gif");
1413
							xml.openTag(WebMapContextTags.LEGEND_URL, xmlAttrs);
1414
							xmlAttrs.clear();
1415
								// <OnlineResource xlink:type="simple" xlink:href="http://globe.digitalearth.gov/globe/en/icons/colorbars/NATIONAL.gif"/>
1416
								xmlAttrs.put(WebMapContextTags.XLINK_TYPE, "simple");
1417
								xmlAttrs.put(WebMapContextTags.XLINK_HREF, "http://globe.digitalearth.gov/globe/en/icons/colorbars/NATIONAL.gif");
1418
								xml.writeTag(WebMapContextTags.ONLINE_RESOURCE, xmlAttrs);
1419
								// </OnlineResource>
1420
						    // </LegendURL>
1421
							xml.closeTag();
1409
//							// <LegendURL width="180" format="image/gif" height="50">
1410
//							xmlAttrs.put(WebMapContextTags.WIDTH, "0");
1411
//							xmlAttrs.put(WebMapContextTags.HEIGHT, "0");
1412
//							xmlAttrs.put(WebMapContextTags.FORMAT.toLowerCase(), "image/gif");
1413
//							xml.openTag(WebMapContextTags.LEGEND_URL, xmlAttrs);
1414
//							xmlAttrs.clear();
1415
//								// <OnlineResource xlink:type="simple" xlink:href="http://globe.digitalearth.gov/globe/en/icons/colorbars/NATIONAL.gif"/>
1416
//								xmlAttrs.put(WebMapContextTags.XLINK_TYPE, "simple");
1417
//								xmlAttrs.put(WebMapContextTags.XLINK_HREF, "http://globe.digitalearth.gov/globe/en/icons/colorbars/NATIONAL.gif");
1418
//								xml.writeTag(WebMapContextTags.ONLINE_RESOURCE, xmlAttrs);
1419
//								// </OnlineResource>
1420
//						    // </LegendURL>
1421
//							xml.closeTag();
1422 1422
						// </Style>
1423 1423
						xml.closeTag();
1424 1424
					}

Also available in: Unified diff