The geometryEngine and geometryEngineAsync libraries are not available when used in a JavaScript app compiled in Webpack with ECMAScript Modules (ESM).
上次发布: April 29, 2021ArcGIS API for JavaScript
漏洞 ID 编号
BUG-000138556
已提交
March 29, 2021
上次修改时间
June 5, 2024
适用范围
ArcGIS API for JavaScript
找到的版本
4.18
操作系统
Windows OS
操作系统版本
10.0
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
There are some classes which do not have default exports, this is one of them. Try this instead: import * as geometryEngine from '@arcgis/core/geometry/geometryEngine';