| Numéro d’ID de bogue |
BUG-000100491 |
| Envoi | October 31, 2016 |
| Dernière modification | August 14, 2025 |
| S’applique à | ArcGIS Pro |
| Version trouvée | 1.3 |
| Système d’exploitation | N/A |
| Version de correction | 2.2 |
| Statut | Fixed
Le bogue a été corrigé. Pour plus d’informations, reportez-vous aux sections Version de correction et Informations supplémentaires, le cas échéant.
|
Solution de contournement
The following code works:p = <a href="http://arcpy.mp" target="_blank">arcpy.mp</a>.ArcGISProject("CURRENT")m = p.listMaps("MAP_NAME")[0]arcpy.CreateVectorTilePackage_management(<a href="http://m.name" target="_blank">m.name</a>, <a href="http://m.name" target="_blank">m.name</a> + '.vtpk', "ONLINE")This code uses ArcGISProject to access the current project with the CURRENT keyword, and then use listMaps to call the map within the project. Please refer to BUG-000098329 for more information regarding using map name instead of map as in_map parameter of the CreateVectorTilePackage function.
Étapes pour reproduire
ID de bogue: BUG-000100491
Logiciel: