Custom Gis Application with Arcgis Javascript API with modern layouting
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.
 
 

8 lines
2.4 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/jsonMap ../core/lang ../core/screenUtils ../core/accessorSupport/decorators/property ../core/has ../core/Logger ../core/accessorSupport/decorators/enumeration ../core/accessorSupport/decorators/subclass ./LineSymbol ./LineSymbolMarker".split(" "),function(c,f,q,l,g,v,w,r,t,b,u){var k;f=new f.JSONMap({esriSLSSolid:"solid",esriSLSDash:"dash",esriSLSDot:"dot",esriSLSDashDot:"dash-dot",esriSLSDashDotDot:"long-dash-dot-dot",esriSLSNull:"none",esriSLSShortDash:"short-dash",
esriSLSShortDot:"short-dot",esriSLSShortDashDot:"short-dash-dot",esriSLSShortDashDotDot:"short-dash-dot-dot",esriSLSLongDash:"long-dash",esriSLSLongDashDot:"long-dash-dot"});b=k=class extends b{constructor(...a){super(...a);this.type="simple-line";this.style="solid";this.join=this.cap="round";this.marker=null;this.miterLimit=2}normalizeCtorArgs(a,h,e,m,n,p){if(a&&"string"!==typeof a)return a;const d={};null!=a&&(d.style=a);null!=h&&(d.color=h);null!=e&&(d.width=l.toPt(e));null!=m&&(d.cap=m);null!=
n&&(d.join=n);null!=p&&(d.miterLimit=l.toPt(p));return d}clone(){return new k({color:q.clone(this.color),style:this.style,width:this.width,cap:this.cap,join:this.join,miterLimit:this.miterLimit,marker:this.marker?.clone()})}hash(){return`${super.hash()}.${this.color?.hash()}.${this.style}.${this.cap}.${this.join}.${this.miterLimit}.${this.marker?.hash()}`}};c.__decorate([r.enumeration({esriSLS:"simple-line"},{readOnly:!0})],b.prototype,"type",void 0);c.__decorate([g.property({type:f.apiValues,json:{read:f.read,
write:f.write}})],b.prototype,"style",void 0);c.__decorate([g.property({type:["butt","round","square"],json:{write:{overridePolicy:(a,h,e)=>({enabled:"round"!==a&&null==e?.origin})}}})],b.prototype,"cap",void 0);c.__decorate([g.property({type:["miter","round","bevel"],json:{write:{overridePolicy:(a,h,e)=>({enabled:"round"!==a&&null==e?.origin})}}})],b.prototype,"join",void 0);c.__decorate([g.property({types:{key:"type",base:null,defaultKeyValue:"line-marker",typeMap:{"line-marker":u}},json:{write:!0,
origins:{"web-scene":{write:!1}}}})],b.prototype,"marker",void 0);c.__decorate([g.property({type:Number,json:{read:!1,write:!1}})],b.prototype,"miterLimit",void 0);return b=k=c.__decorate([t.subclass("esri.symbols.SimpleLineSymbol")],b)});