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.
 
 

6 lines
1.3 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/Accessor ../core/accessorSupport/decorators/property ../core/has ../core/Logger ../core/RandomLCG ../core/accessorSupport/decorators/subclass ../intl/locale".split(" "),function(c,a,d,h,k,l,f,e){const g=new Set("ar bs ca hr cs da nl en et fi fr de el he hu id it ja ko lv lt nb pl ro ru sr es sv th tr uk vi".split(" "));a=class extends a{constructor(b){super(b);this.places=this.language=this.id=null;this.serviceUrl="https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/webmaps";
this.worldview=null}getLanguageParamValue(){if(this.language)return this.language;var b=e.getLocale().toLowerCase();switch(b){case "pt-br":return"pt-BR";case "pt-pt":return"pt-PT";case "zh-cn":return"zh-CN";case "zh-hk":return"zh-HK";case "zh-tw":return"zh-TW"}b=e.getLanguage(b);return"pt"===b?"pt-BR":b&&g.has(b)?b:"global"}};c.__decorate([d.property()],a.prototype,"id",void 0);c.__decorate([d.property()],a.prototype,"language",void 0);c.__decorate([d.property()],a.prototype,"places",void 0);c.__decorate([d.property()],
a.prototype,"serviceUrl",void 0);c.__decorate([d.property()],a.prototype,"worldview",void 0);return a=c.__decorate([f.subclass("esri.support.BasemapStyle")],a)});