34 |
import java.io.IOException; |
import java.io.IOException; |
35 |
import java.net.URL; |
import java.net.URL; |
36 |
import java.util.Date; |
import java.util.Date; |
|
import java.util.HashMap; |
|
|
import java.util.Map; |
|
37 |
import java.util.Random; |
import java.util.Random; |
38 |
|
|
39 |
import javax.swing.ImageIcon; |
import javax.swing.ImageIcon; |
79 |
|
|
80 |
private File sldFile; |
private File sldFile; |
81 |
|
|
82 |
private HashMap<Integer, AttributeMetaData> map; |
private AttributeMetadataMap map; |
83 |
|
|
84 |
/** |
/** |
85 |
* This class enables a non Atlas context to use the Atlas LayerPanel |
* This class enables a non Atlas context to use the Atlas LayerPanel |
224 |
/** |
/** |
225 |
* |
* |
226 |
*/ |
*/ |
227 |
public Map<Integer, AttributeMetaData> getAttributeMetaDataMap() { |
public AttributeMetadataMap getAttributeMetaDataMap() { |
228 |
if (map == null) { |
if (map == null) { |
229 |
|
|
230 |
map = new HashMap<Integer, AttributeMetaData>(); |
map = new AttributeMetadataMap(); |
231 |
|
|
232 |
// Leaving out the first one, it will be the_geom |
// Leaving out the first one, it will be the_geom |
233 |
for (int i = 1; i < fs.getSchema().getAttributeCount(); i++) { |
for (int i = 1; i < fs.getSchema().getAttributeCount(); i++) { |