terriajs
Version:
Geospatial data visualization platform.
30 lines (28 loc) • 844 B
text/typescript
import primitiveTrait from "../Decorators/primitiveTrait";
import mixTraits from "../mixTraits";
import CatalogMemberTraits from "./CatalogMemberTraits";
import { GeoJsonTraits } from "./GeoJsonTraits";
import LegendOwnerTraits from "./LegendOwnerTraits";
import MappableTraits from "./MappableTraits";
import UrlTraits from "./UrlTraits";
export default class GeoRssCatalogItemTraits extends mixTraits(
UrlTraits,
MappableTraits,
CatalogMemberTraits,
GeoJsonTraits,
LegendOwnerTraits
) {
({
type: "boolean",
name: "Clamp to Ground",
description:
"Whether the features in this service should be clamped to the terrain surface."
})
clampToGround: boolean = true;
({
type: "string",
name: "geoRssString",
description: "A GeoRSSstring"
})
geoRssString?: string;
}