漏洞
漏洞 ID 编号 | BUG-000177131 |
---|---|
已提交 | June 12, 2025 |
上次修改时间 | October 11, 2025 |
适用范围 | ArcGIS API for Python |
找到的版本 | 2.4.1 |
操作系统 | Windows OS |
操作系统版本 | 10.0 64 Bit |
修正版本 | 2.4.2 |
状态 | 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: BUG-000177131
软件:
获取来自 ArcGIS 专家的帮助
下载 Esri 支持应用程序