laptop and a wrench

Bogue

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

Dernière publication: August 25, 2014 No Product Found
Numéro d’ID de bogue NIM077308
EnvoiJanuary 23, 2012
Dernière modificationJune 5, 2024
S’applique àNo Product Found
Version trouvée10.1
Version de correction10.1
StatutFixed

Solution de contournement

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

Étapes pour reproduire

ID de bogue: NIM077308

Logiciel:

  • No Product Found

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement