Type Alias IRasterClassification
IRasterClassification:
| {
entries: { color: string; label?: string; value: number }[];
fallback?: string;
type: "unique";
}
| {
entries: { color: string; label?: string; max: number; min: number }[];
fallback?: string;
type: "intervals";
}
Type declaration
- {
entries: { color: string; label?: string; value: number }[];
fallback?: string;
type: "unique";
}entries: { color: string; label?: string; value: number }[]
Optionalfallback?: string
type: "unique"
- {
entries: { color: string; label?: string; max: number; min: number }[];
fallback?: string;
type: "intervals";
}entries: { color: string; label?: string; max: number; min: number }[]
Optionalfallback?: string
type: "intervals"
分类使用物理单位;默认 fallback 透明;intervals 左闭右开、末段右闭。