laptop and a wrench

Bogue

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

Dernière publication: August 2, 2018 ArcGIS API for Python
Numéro d’ID de bogue BUG-000113224
EnvoiApril 16, 2018
Dernière modificationJune 30, 2025
S’applique àArcGIS API for Python
Version trouvée1.4
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
Version de correction1.8.2
StatutFixed

Solution de contournement

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.

Étapes pour reproduire

ID de bogue: BUG-000113224

Logiciel:

  • ArcGIS API for Python

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement