UNPKG

terriajs

Version:

Geospatial data visualization platform.

35 lines 1.61 kB
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; import primitiveTrait from "../Decorators/primitiveTrait"; import ModelTraits from "../ModelTraits"; export default class CesiumIonTraits extends ModelTraits { ionAssetId; ionAccessToken; ionServer; } __decorate([ primitiveTrait({ type: "number", name: "Cesium ion asset ID", description: "The Cesium ion asset id. If this is set then the `url` is ignored" }) ], CesiumIonTraits.prototype, "ionAssetId", void 0); __decorate([ primitiveTrait({ type: "string", name: "Cesium ion access token", description: "Cesium ion access token. If not specified, the default token is used." }) ], CesiumIonTraits.prototype, "ionAccessToken", void 0); __decorate([ primitiveTrait({ type: "string", name: "Ion server", description: "URL of the Cesium ion API server. If not specified, the default Ion server, `https://api.cesium.com/`, is used." }) ], CesiumIonTraits.prototype, "ionServer", void 0); //# sourceMappingURL=CesiumIonTraits.js.map