laptop and a wrench

Bug

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

Zuletzt veröffentlicht: August 25, 2014 No Product Found
Bug-ID-Nummer NIM077308
EingereichtJanuary 23, 2012
Zuletzt geändertJune 5, 2024
Gilt fürNo Product Found
Gefunden in Version10.1
Behoben in Version10.1
StatusFixed

Workaround

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" } ] } }}

Schritte zur Reproduzierung

Bug-ID: NIM077308

Software:

  • No Product Found

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln