101 |
private LegendIconFeatureRenderer() { |
private LegendIconFeatureRenderer() { |
102 |
} |
} |
103 |
|
|
104 |
final static LegendIconFeatureRenderer instance = new LegendIconFeatureRenderer(); |
/** |
105 |
|
* We have to return new instances here. Otherwise the sample features are |
106 |
|
* not recreated and the sizes of the previews are locaked to the size of |
107 |
|
* the first request. |
108 |
|
*/ |
109 |
public static LegendIconFeatureRenderer getInstance() { |
public static LegendIconFeatureRenderer getInstance() { |
110 |
return instance; |
return new LegendIconFeatureRenderer(); |
111 |
} |
} |
112 |
|
|
113 |
/** |
/** |