Revision 8707 trunk/extensions/extArcims/src/es/prodevelop/cit/gvsig/arcims/fmap/layers/LayerScaleData.java
LayerScaleData.java | ||
---|---|---|
19 | 19 |
private final long Min_Allowed_Scale = 1; |
20 | 20 |
private final long Max_Allowed_Scale = 1000000000; |
21 | 21 |
|
22 |
public static Color imagColor = new Color(254, 237, 214); |
|
23 |
public static Color featColor = new Color(251, 255, 225); |
|
22 |
public static Color imagYesColor = new Color(43, 185, 35); |
|
23 |
public static Color featYesColor = new Color(1, 51, 236); |
|
24 |
|
|
25 |
public static Color imagNoColor = new Color(175, 215, 123); |
|
26 |
public static Color featNoColor = new Color(164, 182, 249); |
|
27 |
|
|
24 | 28 |
public static Color unknownColor = new Color(210, 255, 210); |
25 | 29 |
|
26 | 30 |
private String name; |
... | ... | |
70 | 74 |
// LAYERTYPE_F, LAYERTYPE_I |
71 | 75 |
if (type.compareTo(ServiceInfoTags.vLAYERTYPE_F) == 0) { |
72 | 76 |
if (between(minSc, current, maxSc)) { |
73 |
resp = darker(featColor);
|
|
77 |
resp = featYesColor;
|
|
74 | 78 |
} else { |
75 |
resp = featColor; |
|
79 |
resp = featNoColor;
|
|
76 | 80 |
} |
77 | 81 |
} |
78 | 82 |
if (type.compareTo(ServiceInfoTags.vLAYERTYPE_I) == 0) { |
79 | 83 |
if (between(minSc, current, maxSc)) { |
80 |
resp = darker(imagColor);
|
|
84 |
resp = imagYesColor;
|
|
81 | 85 |
} else { |
82 |
resp = imagColor; |
|
86 |
resp = imagNoColor;
|
|
83 | 87 |
} |
84 | 88 |
} |
85 | 89 |
return resp; |
Also available in: Unified diff