You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
3.1 KiB
9 lines
3.1 KiB
// All material copyright Esri, All Rights Reserved, unless otherwise specified. |
|
// See https://js.arcgis.com/4.30/esri/copyright.txt for details. |
|
//>>built |
|
define("../chunks/tslib.es6 ../Camera ../core/accessorSupport/decorators/property ../core/has ../core/Logger ../core/RandomLCG ../core/accessorSupport/decorators/subclass ../views/SceneView ./Widget ./PanoramicViewer/PanoramicViewerViewModel ./support/globalCss ./support/widgetUtils ./support/decorators/vmEvent ./support/jsxFactory".split(" "),function(c,g,d,b,r,t,h,k,l,f,m,u,n,p){b=class extends l{constructor(a){super(a);this.viewModel=new f;this._afterContainerCreate=e=>{this.imageRenderer.container= |
|
e};this.addGraphic=(e,q)=>{this.viewModel.addGraphic(e,q)};this.addManyGraphics=e=>{this.viewModel.addManyGraphics(e)};this.clearGraphics=()=>{this.viewModel.clearGraphics()};this.clearImage=()=>{this.viewModel.clearImage()};this.loadImage=e=>this.viewModel.loadImage(e);this.removeGraphic=e=>{this.viewModel.removeGraphic(e)};this.removeManyGraphics=e=>{this.viewModel.removeManyGraphics(e)}}get autoLoad(){return this.viewModel.autoLoad}set autoLoad(a){this.viewModel.autoLoad=a}get camera(){return this.viewModel.camera}set camera(a){a&& |
|
(this.viewModel.camera=a)}get clickAction(){return this.viewModel.clickAction}set clickAction(a){this.viewModel.clickAction=a}get fov(){return this.camera.fov}set fov(a){this.viewModel.fov=a}get hfov(){return this.viewModel.hfov}get icon(){return"360-view"}set icon(a){this._overrideIfSome("icon",a)}get imageRenderer(){return this.viewModel.imageRenderer}get imageSize(){return this.viewModel.imageSize}get imageSource(){return this.viewModel.imageSource}set imageSource(a){this.viewModel.imageSource= |
|
a}get pitch(){return this.viewModel.pitch}set pitch(a){this.viewModel.pitch=a}get state(){return this.viewModel.state}get vfov(){return this.viewModel.vfov}get yaw(){return this.viewModel.yaw}set yaw(a){this.viewModel.yaw=a}render(){return p.tsx("div",{afterCreate:this._afterContainerCreate,bind:this,class:this.classes(m.globalCss.widget,"esri-panoramic-viewer")})}};c.__decorate([d.property({type:Boolean})],b.prototype,"autoLoad",null);c.__decorate([d.property({type:g})],b.prototype,"camera",null); |
|
c.__decorate([d.property()],b.prototype,"clickAction",null);c.__decorate([d.property({type:Number})],b.prototype,"fov",null);c.__decorate([d.property({readOnly:!0,type:Number})],b.prototype,"hfov",null);c.__decorate([d.property()],b.prototype,"icon",null);c.__decorate([d.property({readOnly:!0,type:k})],b.prototype,"imageRenderer",null);c.__decorate([d.property({readOnly:!0})],b.prototype,"imageSize",null);c.__decorate([d.property()],b.prototype,"imageSource",null);c.__decorate([d.property({type:Number})], |
|
b.prototype,"pitch",null);c.__decorate([d.property({readOnly:!0})],b.prototype,"state",null);c.__decorate([d.property({readOnly:!0,type:Number})],b.prototype,"vfov",null);c.__decorate([n.vmEvent(["click","hittest-response","pixel-location"]),d.property({type:f})],b.prototype,"viewModel",void 0);c.__decorate([d.property({type:Number})],b.prototype,"yaw",null);return b=c.__decorate([h.subclass("esri.widgets.PanoramicViewer")],b)}); |