当前位置:网站首页>Local deployment and problem solving of IIS in ArcGIS JS 4.23
Local deployment and problem solving of IIS in ArcGIS JS 4.23
2022-06-23 00:53:00 【No overrun】
1. Official instructions , And online information , Is to put the official class library into the directory :C:\inetpub\wwwroot in , In the project , Personal habits create a new one in other judgments Web The directory holds all published content , After testing , You can also specify a directory , Publish web sites in other file directories , Specific release method This reference tutorial similar .
2. About publishing path , Because in the current version , It's not like the version between , By modifying the init.js And dojo.js Specify the configuration path in , The latest version of the class library , Just put it in IIS Catalog , adopt IIS You can use it after you publish it , therefore , There are many default configuration paths , Don't specify too casually 、 Modify the class library path . I want to 4.1x Keep the path consistent with the class library of version , Put the publishing path into D:\Web\arcgis_js_api\library\4.23 in , After the release of ,init.js You can normally get , But related gis The class library cannot be obtained and no error is reported . I want to modify it as before init.js perhaps dojo.js, Open possible configuration files , Find nothing to read with the naked eye . Finally, the official way , Basically, the path has not been modified , The local address is similar to D:\Web\arcgis_js_api\library\4.23
3. About removing dojo The problem of
Because the new edition has been removed dojo library , And in the project ArcGIS JS TypeScript Encapsulates part of the map library , Some general operations in the map library use dojo library , therefore , Upgrade to 4.23 edition , You also need to use dojo Related content . Switch the previous library to 4.23 after ,dojo Related to the class library , It can be downloaded from 4.1x In the class library of version , Copy dojo Related to the class library , to 4.23 Version class library .
4. Cross-domain problem
If the following problems occur

Add cross domain request header
Access-Control-Allow-Origin : *
Reference tutorial
边栏推荐
- How do beginners get started quickly and learn deeply?
- 启牛学堂属于证券公司吗?开户安全吗?
- EasyCVR硬件盒子如何设置断电自启动
- JS image resolution compression
- 打新债属于什么理财产品?
- a++,++a,!,~
- Voice network multiplayer video recording and synthesis support offline re recording | Nuggets technology solicitation
- 你踩过这些坑吗?谨慎在时间类型列上创建索引
- Explain the startup process of opengauss multithreading architecture in detail
- LINQ query
猜你喜欢

How to set the power-off auto start of easycvr hardware box

Typecho仿卢松松博客主题模板/科技资讯博客主题模板

SAP MM 事务代码VL04为STO创建外向交货单

#yyds干货盘点# 解决剑指offer:把二叉树打印成多行

SAP mm me27 create intra company sto order

I've been outsourcing for four years, but I feel it's useless

3DMAX modeling notes (I): introducing 3DMAX and creating the first model Hello World

Daily question brushing record (I)
Because I said: volatile is a lightweight synchronized, the interviewer asked me to go back and wait for the notice!

外包干了四年,感觉废了..
随机推荐
Figure what are the uses and applications of neural networks?
每日刷题记录 (一)
Prevent others from using the browser to debug
How to solve the problem that easycvr does not display the interface when RTMP streaming is used?
Hierarchy selector
cadence SPB17.4 - 中文UI设置
Leetcode question brushing - 715 Range module
LeetCode刷题——715. Range 模块
Binary tree to string and string to binary tree
3 big questions! Redis cache exceptions and handling scheme summary
Cadence spb17.4 - Chinese UI settings
Ansible learning summary (8) -- Summary of ansible control right raising related knowledge
[22 summer reconstruction 1] codeworks round 791 (Div. 2)
Mysql8.0 easily completes gtid master-slave replication
SAP ui5 application development tutorial 103 - how to consume third-party libraries in SAP ui5 applications
【滑动窗口】leetcode992. Subarrays with K Different Integers
[launch] redis Series 2: data persistence to improve availability
图神经网络有哪些用途和应用?
層次選擇器
Voice network multiplayer video recording and synthesis support offline re recording | Nuggets technology solicitation