Revision 4567 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/rendering/VectorialUniqueValueLegend.java
VectorialUniqueValueLegend.java | ||
---|---|---|
433 | 433 |
return null; |
434 | 434 |
} |
435 | 435 |
} |
436 |
public String getSLDString() |
|
436 |
public String getSLDString(String name)
|
|
437 | 437 |
{ |
438 | 438 |
try{ |
439 | 439 |
|
... | ... | |
441 | 441 |
xmlBuilder.writeHeader(); |
442 | 442 |
xmlBuilder.openTag(SLDTags.SLD_ROOT, SLDTags.VERSION_ATTR, SLDTags.VERSION_1_0_0); |
443 | 443 |
xmlBuilder.openTag(SLDTags.NAMEDLAYER); |
444 |
xmlBuilder.writeTag(SLDTags.NAME,"comunidades");
|
|
444 |
xmlBuilder.writeTag(SLDTags.NAME,name);
|
|
445 | 445 |
xmlBuilder.openTag(SLDTags.USERSTYLE); |
446 | 446 |
xmlBuilder.openTag(SLDTags.FEATURETYPESTYLE); |
447 | 447 |
xmlBuilder.writeTag(SLDTags.FEATURETYPENAME,"fieldName"); |
Also available in: Unified diff