64 |
*/ |
*/ |
65 |
public StyledFS(FeatureSource fs, File sldFile) { |
public StyledFS(FeatureSource fs, File sldFile) { |
66 |
|
|
|
super(); |
|
67 |
this.fs = fs; |
this.fs = fs; |
68 |
id = StyledFS.class.getSimpleName() |
id = StyledFS.class.getSimpleName() |
69 |
+ new Random(new Date().getTime()).nextInt(10000000); |
+ new Random(new Date().getTime()).nextInt(10000000); |
152 |
return false; |
return false; |
153 |
} |
} |
154 |
|
|
155 |
public boolean isHideInLegend() { |
/** |
156 |
return false; |
* If true, this layer will not be shown in the legend. Default = false |
157 |
} |
*/ |
158 |
|
/** |
159 |
|
* |
160 |
|
* Killed by SK: 6. April 09: Ein Layer soll nicht generell auf |
161 |
|
* verstecken/nicht verstecken gestellt werden können. Das sind |
162 |
|
* Eigenschaften der Karte/MapContext, ebenso wie die Reihenfolge der Layer. |
163 |
|
* Im Atlas verwaltet deshalb nun die Klasse skrueger.atlas.Map welche Layer |
164 |
|
* nicht in der Legende auftauchen sollen. Meines Wissens hat keiner bisher |
165 |
|
* die Funktion genutzt. |
166 |
|
* |
167 |
|
// public boolean isHideInLegend() { |
168 |
|
// return false; |
169 |
|
// } |
170 |
|
*/ |
171 |
|
|
172 |
public void setDesc(Translation dec) { |
public void setDesc(Translation dec) { |
173 |
this.desc = dec; |
this.desc = dec; |
174 |
} |
} |
175 |
|
|
176 |
public void setImageIcon(ImageIcon icon) { |
public void setImageIcon(ImageIcon icon) { |
|
// TODO Auto-generated method stub |
|
|
|
|
177 |
} |
} |
178 |
|
|
179 |
public void setKeywords(Translation keywords) { |
public void setKeywords(Translation keywords) { |
192 |
public void uncache() { |
public void uncache() { |
193 |
} |
} |
194 |
|
|
195 |
|
/** |
196 |
|
* |
197 |
|
*/ |
198 |
public Map<Integer, AttributeMetaData> getAttributeMetaDataMap() { |
public Map<Integer, AttributeMetaData> getAttributeMetaDataMap() { |
199 |
if (map == null) { |
if (map == null) { |
200 |
|
|
201 |
map = new HashMap<Integer, AttributeMetaData>(); |
map = new HashMap<Integer, AttributeMetaData>(); |
202 |
|
|
203 |
// Leaving out the first one, it will be the_geom |
// Leaving out the first one, it will be the_geom |