laptop and a wrench

不具合

In the ArcGIS API for Python 2.4.0 release, the new arcgis.map.Map module does not return the remaining layers in the map if it runs into an invalid layer while accessing a map item's content.layers property.

ArcGIS API for Python
不具合 ID 番号 BUG-000173532
送信されましたJanuary 10, 2025
最終更新日January 27, 2025
適用対象ArcGIS API for Python
見つかったバージョン2.4
オペレーティング システムWindows OS
オペレーティング システムのバージョン11.0 64 bit
ステータスAs Designed

参考情報

The arcgis.map module is a new addition, and while some functionality and workflows from the arcgis.mapping module has been carried over, they are not identical For maps with broken layer URLs, it is recommended to update them using the methods available in the Item class. Refer to the example code below: ``` gis = GIS(profile="your_online_profile") item = gis.content.get("map_item_id") data = item.get_data() data["operationalLayers"][0]["url"] = "my_new_url" item.update(data=data) print(item.get_data()) ```

対処法

Use the web map's JSON property to check the layers' URLs.

再現の手順

不具合 ID: BUG-000173532

ソフトウェア:

  • ArcGIS API for Python

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動