Layer 6 and 7 of the World Traffic Service ArcGIS REST API cannot be added individually to either Map Viewer or Map Viewer Classic. The error message, "Traffic cannot be added to the map. Support for adding this layer type is not yet available." is returned.
上次发布: March 24, 2022ArcGIS Online
漏洞 ID 编号
BUG-000147420
已提交
March 8, 2022
上次修改时间
September 10, 2025
适用范围
ArcGIS Online
找到的版本
9.4
操作系统
N/A
操作系统版本
N/A
状态
Under Consideration
该问题已由开发团队审核。 其尚未被优先纳入发布计划,但将对其进行监控以确定总体影响。 在优先级排序过程中考虑的因素包括受影响或请求功能的用户数量、业务影响、是否存在解决方法等。 如果漏洞对您的业务产生不利影响,请参阅“操作方法:升级缺陷”(https://support.esri.com/en/technical-article/000024129)。
附加信息
The software behaves as expected. Layer 6 and Layer 7 are network dataset layers that support only server-side rendering and do not support client-side rendering, so they cannot be added to the map individually. When adding the entire map service to Map Viewer, the client handles network dataset layers, exports the image based on the extent, and renders the image on the client side. However, the client does not support adding network dataset layers individually.
Importing this issue to improve the traffic service documentation and clarify the behavior.
解决办法
Do not specify a layer ID at the end of the World Traffic Service URL (https://traffic.arcgis.com/arcgis/rest/services/World/Traffic/MapServer) and add the service to the map.
Observe all sub layers are added, including layers 6 and 7.
Turn off all unnecessary layers, leaving only layers 6 and 7 visible on the map.