terriajs-plugin-sample
Advanced tools
Comparing version
@@ -348,2 +348,19 @@ import Rectangle from "terriajs-cesium/Source/Core/Rectangle"; | ||
}> | undefined; | ||
featureInfoTemplate?: import("terriajs/lib/Core/TypeModifiers").Complete<{ | ||
name?: string | undefined; | ||
template?: string | undefined; | ||
partials?: import("terriajs/lib/Core/TypeModifiers").Complete<{ | ||
[x: string]: string | undefined; | ||
}> | undefined; | ||
formats?: import("terriajs/lib/Core/TypeModifiers").Complete<{ | ||
[x: string]: import("terriajs/lib/Core/TypeModifiers").Complete<{ | ||
maximumFractionDigits: number | undefined; | ||
minimumFractionDigits: number | undefined; | ||
useGrouping: boolean | undefined; | ||
type?: string | undefined; | ||
format?: string | undefined; | ||
}> | undefined; | ||
}> | undefined; | ||
}> | undefined; | ||
showStringIfPropertyValueIsNull?: string | undefined; | ||
attribution?: string | undefined; | ||
@@ -407,2 +424,19 @@ }>>; | ||
}> | undefined; | ||
featureInfoTemplate?: import("terriajs/lib/Core/TypeModifiers").Complete<{ | ||
name?: string | undefined; | ||
template?: string | undefined; | ||
partials?: import("terriajs/lib/Core/TypeModifiers").Complete<{ | ||
[x: string]: string | undefined; | ||
}> | undefined; | ||
formats?: import("terriajs/lib/Core/TypeModifiers").Complete<{ | ||
[x: string]: import("terriajs/lib/Core/TypeModifiers").Complete<{ | ||
maximumFractionDigits: number | undefined; | ||
minimumFractionDigits: number | undefined; | ||
useGrouping: boolean | undefined; | ||
type?: string | undefined; | ||
format?: string | undefined; | ||
}> | undefined; | ||
}> | undefined; | ||
}> | undefined; | ||
showStringIfPropertyValueIsNull?: string | undefined; | ||
attribution?: string | undefined; | ||
@@ -461,6 +495,23 @@ }>>; | ||
}> | undefined; | ||
featureInfoTemplate?: import("terriajs/lib/Core/TypeModifiers").Complete<{ | ||
name?: string | undefined; | ||
template?: string | undefined; | ||
partials?: import("terriajs/lib/Core/TypeModifiers").Complete<{ | ||
[x: string]: string | undefined; | ||
}> | undefined; | ||
formats?: import("terriajs/lib/Core/TypeModifiers").Complete<{ | ||
[x: string]: import("terriajs/lib/Core/TypeModifiers").Complete<{ | ||
maximumFractionDigits: number | undefined; | ||
minimumFractionDigits: number | undefined; | ||
useGrouping: boolean | undefined; | ||
type?: string | undefined; | ||
format?: string | undefined; | ||
}> | undefined; | ||
}> | undefined; | ||
}> | undefined; | ||
showStringIfPropertyValueIsNull?: string | undefined; | ||
attribution?: string | undefined; | ||
}>>; | ||
duplicateModel(newId: string, sourceReference?: import("terriajs/lib/Models/Definition/Model").BaseModel | undefined): any; | ||
setTrait<Key_6 extends "show" | "attribution" | "rectangle" | "idealZoom" | "disablePreview" | "disableZoomTo" | "zoomOnAddToWorkbench" | "initialMessage">(stratumId: string, trait: Key_6, value: import("terriajs/lib/Core/TypeModifiers").Complete<{ | ||
setTrait<Key_6 extends "show" | "attribution" | "rectangle" | "idealZoom" | "disablePreview" | "disableZoomTo" | "zoomOnAddToWorkbench" | "initialMessage" | "featureInfoTemplate" | "showStringIfPropertyValueIsNull">(stratumId: string, trait: Key_6, value: import("terriajs/lib/Core/TypeModifiers").Complete<{ | ||
rectangle?: import("terriajs/lib/Core/TypeModifiers").Complete<{ | ||
@@ -516,5 +567,22 @@ west?: number | undefined; | ||
}> | undefined; | ||
featureInfoTemplate?: import("terriajs/lib/Core/TypeModifiers").Complete<{ | ||
name?: string | undefined; | ||
template?: string | undefined; | ||
partials?: import("terriajs/lib/Core/TypeModifiers").Complete<{ | ||
[x: string]: string | undefined; | ||
}> | undefined; | ||
formats?: import("terriajs/lib/Core/TypeModifiers").Complete<{ | ||
[x: string]: import("terriajs/lib/Core/TypeModifiers").Complete<{ | ||
maximumFractionDigits: number | undefined; | ||
minimumFractionDigits: number | undefined; | ||
useGrouping: boolean | undefined; | ||
type?: string | undefined; | ||
format?: string | undefined; | ||
}> | undefined; | ||
}> | undefined; | ||
}> | undefined; | ||
showStringIfPropertyValueIsNull?: string | undefined; | ||
attribution?: string | undefined; | ||
}>[Key_6]): void; | ||
getTrait<Key_7 extends "show" | "attribution" | "rectangle" | "idealZoom" | "disablePreview" | "disableZoomTo" | "zoomOnAddToWorkbench" | "initialMessage">(stratumId: string, trait: Key_7): import("terriajs/lib/Core/TypeModifiers").Complete<{ | ||
getTrait<Key_7 extends "show" | "attribution" | "rectangle" | "idealZoom" | "disablePreview" | "disableZoomTo" | "zoomOnAddToWorkbench" | "initialMessage" | "featureInfoTemplate" | "showStringIfPropertyValueIsNull">(stratumId: string, trait: Key_7): import("terriajs/lib/Core/TypeModifiers").Complete<{ | ||
rectangle?: import("terriajs/lib/Core/TypeModifiers").Complete<{ | ||
@@ -570,5 +638,22 @@ west?: number | undefined; | ||
}> | undefined; | ||
featureInfoTemplate?: import("terriajs/lib/Core/TypeModifiers").Complete<{ | ||
name?: string | undefined; | ||
template?: string | undefined; | ||
partials?: import("terriajs/lib/Core/TypeModifiers").Complete<{ | ||
[x: string]: string | undefined; | ||
}> | undefined; | ||
formats?: import("terriajs/lib/Core/TypeModifiers").Complete<{ | ||
[x: string]: import("terriajs/lib/Core/TypeModifiers").Complete<{ | ||
maximumFractionDigits: number | undefined; | ||
minimumFractionDigits: number | undefined; | ||
useGrouping: boolean | undefined; | ||
type?: string | undefined; | ||
format?: string | undefined; | ||
}> | undefined; | ||
}> | undefined; | ||
}> | undefined; | ||
showStringIfPropertyValueIsNull?: string | undefined; | ||
attribution?: string | undefined; | ||
}>[Key_7]; | ||
addObject<Key_8 extends "show" | "attribution" | "rectangle" | "idealZoom" | "disablePreview" | "disableZoomTo" | "zoomOnAddToWorkbench" | "initialMessage">(stratumId: string, trait: Key_8, objectId?: string | undefined): import("terriajs/lib/Models/Definition/Model").default<import("terriajs/lib/Models/Definition/Model").ArrayElementTypes<import("terriajs-plugin-api").MappableTraits>[Key_8]> | undefined; | ||
addObject<Key_8 extends "show" | "attribution" | "rectangle" | "idealZoom" | "disablePreview" | "disableZoomTo" | "zoomOnAddToWorkbench" | "initialMessage" | "featureInfoTemplate" | "showStringIfPropertyValueIsNull">(stratumId: string, trait: Key_8, objectId?: string | undefined): import("terriajs/lib/Models/Definition/Model").default<import("terriajs/lib/Models/Definition/Model").ArrayElementTypes<import("terriajs-plugin-api").MappableTraits>[Key_8]> | undefined; | ||
readonly rectangle: import("terriajs/lib/Models/Definition/Model").default<import("terriajs/lib/Traits/TraitsClasses/MappableTraits").RectangleTraits>; | ||
@@ -581,2 +666,4 @@ readonly idealZoom: import("terriajs/lib/Models/Definition/Model").default<import("terriajs/lib/Traits/TraitsClasses/MappableTraits").IdealZoomTraits>; | ||
readonly initialMessage: import("terriajs/lib/Models/Definition/Model").default<import("terriajs/lib/Traits/TraitsClasses/MappableTraits").InitialMessageTraits>; | ||
readonly featureInfoTemplate: import("terriajs/lib/Models/Definition/Model").default<import("terriajs/lib/Traits/TraitsClasses/FeatureInfoTraits").FeatureInfoTemplateTraits>; | ||
readonly showStringIfPropertyValueIsNull: string | undefined; | ||
readonly attribution: string | undefined; | ||
@@ -583,0 +670,0 @@ }; |
{ | ||
"name": "terriajs-plugin-sample", | ||
"version": "0.0.1-alpha.6", | ||
"version": "0.0.1-alpha.7", | ||
"description": "A sample terriajs plugin.", | ||
@@ -11,3 +11,3 @@ "module": "dist/index.js", | ||
"dependencies": { | ||
"terriajs-plugin-api": "0.0.1-alpha.5" | ||
"terriajs-plugin-api": "0.0.1-alpha.6" | ||
}, | ||
@@ -21,3 +21,3 @@ "devDependencies": { | ||
"rollup-plugin-terser": "^7.0.2", | ||
"terriajs": "8.2.7", | ||
"terriajs": "8.2.11", | ||
"tslib": "^2.3.1", | ||
@@ -24,0 +24,0 @@ "typescript": "^3.9.4" |
59205
10.45%11
10%864
11.48%+ Added
- Removed