Bogue
Numéro d’ID de bogue | BUG-000177131 |
---|---|
Envoi | June 12, 2025 |
Dernière modification | October 11, 2025 |
S’applique à | ArcGIS API for Python |
Version trouvée | 2.4.1 |
Système d’exploitation | Windows OS |
Version du système d’exploitation | 10.0 64 Bit |
Version de correction | 2.4.2 |
Statut | Fixed |
Including a simple renderer at the Web Map level resolves the validation error. This has to be done via adding the renderer to the Web Map JSON. Please note this can corrupt the item if incorrectly applied.
"layerDefinition": {
"drawingInfo": {
"labelingInfo": [
{
"labelExpression": "[OBJECTID]",
"labelExpressionInfo": {
"expression": "$feature[\"OBJECTID\"]"
},
"labelPlacement": "esriServerPointLabelPlacementAboveCenter",
"repeatLabel": true,
"symbol": {
"type": "esriTS",
"color": [
247,
247,
247,
255
],
"font": {
"family": "Arial",
"size": 9.75
},
"horizontalAlignment": "center",
"kerning": true,
"haloColor": [
38,
38,
38,
255
],
"haloSize": 1,
"rotated": false,
"text": "",
"verticalAlignment": "baseline",
"xoffset": 0,
"yoffset": 0,
"angle": 0
}
}
],
"renderer": {
"type": "simple",
"symbol": {
"type": "esriSMS",
"style": "esriSMSCircle",
"color": [
0,
0,
255,
255
],
"size": 50
}
}
}
},
ID de bogue: BUG-000177131
Logiciel:
Obtenir de l’aide auprès des experts ArcGIS
Télécharger l’application Esri Support