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.
7 lines
1.9 KiB
7 lines
1.9 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 ../core/lang ../core/screenUtils ../core/accessorSupport/decorators/property ../core/has ../core/Logger ../core/accessorSupport/decorators/enumeration ../core/accessorSupport/decorators/reader ../core/accessorSupport/decorators/subclass ./MarkerSymbol ./support/urlUtils".split(" "),function(c,m,f,d,b,t,n,p,q,r,k){var h;b=h=class extends r{constructor(...a){super(...a);this.color=null;this.type="picture-marker";this.source=this.url=null;this.width=this.height=12;this.size= |
|
null}normalizeCtorArgs(a,e,l){if(a&&"string"!==typeof a&&null==a.imageData)return a;const g={};a&&(g.url=a);null!=e&&(g.width=f.toPt(e));null!=l&&(g.height=f.toPt(l));return g}readHeight(a,e){return e.size||a}readWidth(a,e){return e.size||a}clone(){const a=new h({angle:this.angle,height:this.height,url:this.url,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset});a._set("source",m.clone(this.source));return a}hash(){return`${super.hash()}.${this.height}.${this.url}.${this.width}`}};c.__decorate([d.property({json:{write:!1}})], |
|
b.prototype,"color",void 0);c.__decorate([n.enumeration({esriPMS:"picture-marker"},{readOnly:!0})],b.prototype,"type",void 0);c.__decorate([d.property(k.urlPropertyDefinition)],b.prototype,"url",void 0);c.__decorate([d.property(k.sourcePropertyDefinition)],b.prototype,"source",void 0);c.__decorate([d.property({type:Number,cast:f.toPt,json:{write:!0}})],b.prototype,"height",void 0);c.__decorate([p.reader("height",["height","size"])],b.prototype,"readHeight",null);c.__decorate([d.property({type:Number, |
|
cast:f.toPt,json:{write:!0}})],b.prototype,"width",void 0);c.__decorate([d.property({json:{write:!1}})],b.prototype,"size",void 0);return b=h=c.__decorate([q.subclass("esri.symbols.PictureMarkerSymbol")],b)}); |