laptop and a wrench

Bug

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

Zuletzt veröffentlicht: August 2, 2018 ArcGIS API for Python
Bug-ID-Nummer BUG-000113224
EingereichtApril 16, 2018
Zuletzt geändertJune 30, 2025
Gilt fürArcGIS API for Python
Gefunden in Version1.4
BetriebssystemWindows OS
Betriebssystemversion10.0 64 Bit
Behoben in Version1.8.2
StatusFixed

Workaround

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.

Schritte zur Reproduzierung

Bug-ID: BUG-000113224

Software:

  • ArcGIS API for Python

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln