laptop and a wrench

漏洞

The VectorTileLayer class does not load when the URL is set to a Mapbox style in ArcGIS API for JavaScript.

上次发布: July 4, 2018 ArcGIS API for JavaScript
漏洞 ID 编号 BUG-000115057
已提交June 29, 2018
上次修改时间July 26, 2026
适用范围ArcGIS API for JavaScript
找到的版本3.24
操作系统Windows OS
操作系统版本10.0 64 Bit
状态Non-Reproducible

附加信息

ArcGIS Maps SDK for JavaScript supports Mapbox vector tile styles, but they require a quick preprocessing step before loading. Because ArcGIS loads style resources via standard web requests, it cannot resolve custom mapbox:// URL schemes directly. To fix this, fetch the style JSON and rewrite any internal mapbox:// URLs to HTTPS. The attached application demonstrates this complete conversion workflow end-to-end to ensure your style loads reliably: https://codepen.io/U_B_U/pen/gbgdjBd?editors=1000 To see the app working, use the Mapbox access token.

重现步骤

漏洞 ID: BUG-000115057

软件:

  • ArcGIS API for JavaScript

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项