laptop and a wrench

漏洞

The geometryEngine and geometryEngineAsync libraries are not available when used in a JavaScript app compiled in Webpack with ECMAScript Modules (ESM).

上次发布: April 29, 2021 ArcGIS 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';

重现步骤

漏洞 ID: BUG-000138556

软件:

  • ArcGIS API for JavaScript

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项