laptop and a wrench

漏洞

The Print Service fails to update the legend when the rendering of existing layers is being replaced dynamically.

上次发布: August 25, 2014 No Product Found
漏洞 ID 编号 NIM077308
已提交January 23, 2012
上次修改时间June 5, 2024
适用范围No Product Found
找到的版本10.1
修正版本10.1
状态Fixed

解决办法

Use an ID for the layer that does not refer to any existing sublayers of the mapservice.For example:{ "operationalLayers": [ { "id": "riverparcels", "title": "buildings", "url": "<a href="http://spritle:6080/arcgis/rest/services/TestGrouping/MapServer" target="_blank">http://spritle:6080/arcgis/rest/services/TestGrouping/MapServer</a>", "visibility": true, "opacity": 1, "layers": [ { "id": 1000, //it was 10 "layerDefinition": { "source": { "type": "mapLayer", "mapLayerId": 6, "version": "" }, "drawingInfo": { "renderer": { "type": "simple", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 255, 0, 0, 80 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 163, 155, 134, 128 ], "width": 2 } }, "label": "", "description": "" } } } } ] } ], "mapOptions": { "extent": { "xmin": -180, "ymin": -90, "xmax": 180, "ymax": 90, "spatialReference": { "wkid": 4326 } } }, "exportOptions": { "dpi": 96, "outputSize": [ 1020, 641 ] }, "layoutOptions": { "titleText": "", "copyrightText": "", "legendOptions": { "operationalLayers": [ { "id": "riverparcels" } ] } }}

重现步骤

漏洞 ID: NIM077308

软件:

  • No Product Found

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项