当前位置:网站首页>ArcGIS JS API dojoconfig configuration

ArcGIS JS API dojoconfig configuration

2022-04-23 19:08:00 GIS roast lamb leg is delicious

//dojoConfig Must be in init.js Configuration before import .
var dojoConfig = {
        paths: {
          packagebaseurl: "localhost:8080/project/packagemethod/js"// Storage path 
       }
};
// Once configured, you can use 
require([
	"packagebaseurl/text",//text.js The document must define Defined modules 
	"dojo/domReady!"
 ], function() {
	new text();
})

版权声明
本文为[GIS roast lamb leg is delicious]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231908121225.html