本文簡要介紹 python 語言中 arcgis.mapping.VectorTileLayerManager.delete_tiles
的用法。
用法:
delete_tiles()
返回:
一個字典
delete_tiles
方法從當前緩存中刪除切片。注意:
delete_tiles
操作僅適用於 ArcGIS Online,並且隻能用於從服務目錄發布的矢量切片層。例子:
# USAGE EXAMPLE >>> from arcgis.mapping import VectorTileLayer >>> from arcgis.gis import GIS # connect to your GIS >>> gis = GIS(url, username, password) >>> vector_layer_item = gis.content.get('abcd_item-id') >>> vector_tile_layer = VectorTileLayer.fromitem(vector_layer_item) >>> vtl_manager = vector_tile_layer.manager >>> deleted_tiles = vtl_manager.delete_tiles() >>> type(deleted_tiles)
相關用法
- Python ArcGIS VectorTileLayerManager.edit_tile_service用法及代碼示例
- Python ArcGIS VectorTileLayerManager.update_tiles用法及代碼示例
- Python ArcGIS VectorTileLayer.fromitem用法及代碼示例
- Python ArcGIS VerizonConnectReveal用法及代碼示例
- Python ArcGIS Velocity用法及代碼示例
- Python ArcGIS Velocity.feeds用法及代碼示例
- Python ArcGIS Velocity.bigdata_analytics用法及代碼示例
- Python ArcGIS Velocity.realtime_analytics用法及代碼示例
- Python ArcGIS VoxelLayer用法及代碼示例
- Python ArcGIS ViewManager.create用法及代碼示例
- Python ArcGIS power用法及代碼示例
- Python ArcGIS APIKeyManager.get用法及代碼示例
- Python ArcGIS KnowledgeGraph.named_object_type_delete用法及代碼示例
- Python ArcGIS ContentManager.unshare_items用法及代碼示例
- Python ArcGIS ImageryLayer.thumbnail用法及代碼示例
- Python ArcGIS FormFieldElement用法及代碼示例
- Python ArcGIS Geometry.true_centroid用法及代碼示例
- Python ArcGIS Site.delete用法及代碼示例
- Python ArcGIS GeoAccessor.bbox用法及代碼示例
- Python arcgis.apps.hub.Initiative.update用法及代碼示例
- Python ArcGIS generate_service_areas用法及代碼示例
- Python ArcGIS build_overview用法及代碼示例
- Python ArcGIS RunInterval用法及代碼示例
- Python ArcGIS describe_dataset用法及代碼示例
- Python ArcGIS acos用法及代碼示例
注:本文由純淨天空篩選整理自arcgis.com大神的英文原創作品 arcgis.mapping.VectorTileLayerManager.delete_tiles。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。