laptop and a wrench

漏洞

The Python API does not support adding Open Geopsatial Consortium (OGC) layers to a web map using the add_layer() method.

上次发布: August 2, 2018 ArcGIS API for Python
漏洞 ID 编号 BUG-000113224
已提交April 16, 2018
上次修改时间June 30, 2025
适用范围ArcGIS API for Python
找到的版本1.4
操作系统Windows OS
操作系统版本10.0 64 Bit
修正版本1.8.2
状态Fixed

解决办法

Add the Open Geopsatial Consortium (OGS) service using Python syntax of inserting an element to the 'operationalLayers'' list of the web map object dictionary (.insert()) and the 'update' function of the library (.update()) to save the new layers to the web map.Sample script provided in Analyst Knowledge: Add a layer to web map using ArcGIS API for Python.

重现步骤

漏洞 ID: BUG-000113224

软件:

  • ArcGIS API for Python

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项