本文簡要介紹 python 語言中 arcgis.mapping.WebMap.move_from_basemap
的用法。
用法:
move_from_basemap(layer)
返回:
如果成功則 WebMap 定義,否則錯誤。
將圖層從底圖圖層移動到業務圖層。
move_to_basemap
的逆過程。Parameter
Definition
layer
所需詞典。將發送到操作層的圖層字典。該字典是在調用 WebMap 上的
definition
屬性時找到的。該圖層必須已經是 baseMapLayers 的一部分。wm = WebMap(<webmap_item_id>) layer = wm.definition["baseMap"]["baseMapLayer"][0] wm.move_from_basemap(layer) wm.update()
相關用法
- Python ArcGIS WebMap.move_to_basemap用法及代碼示例
- Python ArcGIS WebMap.update用法及代碼示例
- Python ArcGIS WebMap.add_layer用法及代碼示例
- Python ArcGIS WebMap.basemap用法及代碼示例
- Python ArcGIS WebMap.tables用法及代碼示例
- Python ArcGIS WebMap.add_table用法及代碼示例
- Python ArcGIS WebMap.forms用法及代碼示例
- Python ArcGIS WebMap.update_drawing_info用法及代碼示例
- Python ArcGIS WebMap.print用法及代碼示例
- Python ArcGIS WebMap.layers用法及代碼示例
- Python ArcGIS WebMap.save用法及代碼示例
- Python ArcGIS WebMap.bookmarks用法及代碼示例
- Python ArcGIS WebMap.update_layer用法及代碼示例
- Python ArcGIS WebMap用法及代碼示例
- Python ArcGIS WebSocket用法及代碼示例
- Python ArcGIS WebhookManager.create用法及代碼示例
- Python ArcGIS WebAdaptors.list用法及代碼示例
- Python ArcGIS Worker用法及代碼示例
- Python ArcGIS WorkflowManager.create_lookup用法及代碼示例
- Python ArcGIS WorkflowManager用法及代碼示例
- Python ArcGIS WorkerManager用法及代碼示例
- Python ArcGIS power用法及代碼示例
- Python ArcGIS APIKeyManager.get用法及代碼示例
- Python ArcGIS KnowledgeGraph.named_object_type_delete用法及代碼示例
- Python ArcGIS ContentManager.unshare_items用法及代碼示例
注:本文由純淨天空篩選整理自arcgis.com大神的英文原創作品 arcgis.mapping.WebMap.move_from_basemap。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。