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
2.2 KiB
7 lines
2.2 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 ../Color ../core/jsonMap ../core/lang ../core/screenUtils ../core/accessorSupport/decorators/property ../core/has ../core/Logger ../core/accessorSupport/decorators/enumeration ../core/accessorSupport/decorators/subclass ../core/accessorSupport/decorators/writer ./MarkerSymbol ./SimpleLineSymbol".split(" "),function(c,n,d,p,q,e,v,w,r,t,u,b,k){var h;d=new d.JSONMap({esriSMSCircle:"circle",esriSMSSquare:"square",esriSMSCross:"cross",esriSMSX:"x",esriSMSDiamond:"diamond",esriSMSTriangle:"triangle", |
|
esriSMSPath:"path"});b=h=class extends b{constructor(...a){super(...a);this.color=new n([255,255,255,.25]);this.type="simple-marker";this.size=12;this.style="circle";this.outline=new k}normalizeCtorArgs(a,f,l,m){if(a&&"string"!==typeof a)return a;const g={};a&&(g.style=a);null!=f&&(g.size=q.toPt(f));l&&(g.outline=l);m&&(g.color=m);return g}writeColor(a,f){a&&"x"!==this.style&&"cross"!==this.style&&(f.color=a.toJSON());null===a&&(f.color=null)}set path(a){this.style="path";this._set("path",a)}clone(){return new h({angle:this.angle, |
|
color:p.clone(this.color),outline:this.outline&&this.outline.clone(),path:this.path,size:this.size,style:this.style,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${super.hash()}.${this.color&&this.color.hash()}.${this.path}.${this.style}.${this.outline?.hash()}`}};c.__decorate([e.property()],b.prototype,"color",void 0);c.__decorate([u.writer("color")],b.prototype,"writeColor",null);c.__decorate([r.enumeration({esriSMS:"simple-marker"},{readOnly:!0})],b.prototype,"type",void 0);c.__decorate([e.property()], |
|
b.prototype,"size",void 0);c.__decorate([e.property({type:d.apiValues,json:{read:d.read,write:d.write}})],b.prototype,"style",void 0);c.__decorate([e.property({type:String,json:{write:!0}})],b.prototype,"path",null);c.__decorate([e.property({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":k}},json:{default:null,write:!0}})],b.prototype,"outline",void 0);return b=h=c.__decorate([t.subclass("esri.symbols.SimpleMarkerSymbol")],b)}); |