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.
 
 

4 lines
595 B

// All material copyright Esri, All Rights Reserved, unless otherwise specified.
// See https://js.arcgis.com/4.30/esri/copyright.txt for details.
//>>built
define(["exports","../../../request"],function(c,e){c.addServerVersion=async function(d,b){var a=null;a="string"===typeof b?b:b.path;if(!d.has(a)){const f=await e(a.replace(/\/VersionManagementServer/i,"/FeatureServer"),{query:{f:"json"}});a={serverVersion:Number(f.data.currentVersion),featureServerUrl:a.replace(/\/VersionManagementServer/i,"/FeatureServer")};d.set(b,a)}};Object.defineProperty(c,Symbol.toStringTag,{value:"Module"})});