laptop and a wrench

Bogue

A TextSymbol added to a map with a MarkerSymbol results in only MarkerSymbols appearing in the printed map (pdf).

Dernière publication: August 25, 2014 ArcGIS API for JavaScript
Numéro d’ID de bogue NIM091118
EnvoiApril 30, 2013
Dernière modificationJune 5, 2024
S’applique àArcGIS API for JavaScript
Version trouvée3.4
StatutWill Not Be Addressed

Informations supplémentaires

Point features with marker symbols and point features with text symbols need to be in two separate layers

Solution de contournement

here is the correct way to send the request to a printing service:{ "mapOptions": { "showAttribution": true, "extent": { "xmin": -10430559.320337867, "ymin": 3298108.3286637864, "xmax": -9770143.395953977, "ymax": 3848454.9323170283, "spatialReference": { "wkid": 102100 } }, "spatialReference": { "wkid": 102100 }, "scale": 2311162.2171549997 }, "operationalLayers": [ { "id": "Ocean", "title": "Ocean", "opacity": 1, "minScale": 591657527.591555, "maxScale": 9027.977411, "url": "<a href="http://services.arcgisonline.com/ArcGIS/rest/services/Ocean_Basemap/MapServer" target="_blank">http://services.arcgisonline.com/ArcGIS/rest/services/Ocean_Basemap/MapServer</a>" }, { "id": "map_graphics", "minScale": 0, "maxScale": 0, "featureCollection": { "layers": [ { "layerDefinition": { "name": "pointLayer", "geometryType": "esriGeometryPoint" }, "featureSet": { "geometryType": "esriGeometryPoint", "features": [ { "geometry": { "x": -10105243.327956174, "y": 3715760.2512139687, "spatialReference": { "wkid": 102100 } }, "symbol": { "color": [ 0, 255, 0, 191 ], "size": 7.5, "angle": 0, "xoffset": 0, "yoffset": 0, "type": "esriSMS", "style": "esriSMSCircle", "outline": { "color": [ 255, 0, 0, 255 ], "width": 0.75, "type": "esriSLS", "style": "esriSLSSolid" } } } ] } }, { "layerDefinition": { "name": "labelLayer", "geometryType": "esriGeometryPoint" }, "featureSet": { "geometryType": "esriGeometryPoint", "features": [ { "geometry": { "x": -10103408.839277329, "y": 3655833.6210383936, "spatialReference": { "wkid": 102100 } }, "symbol": { "color": [ 255, 0, 255, 255 ], "type": "esriTS", "angle": 0, "xoffset": 0, "yoffset": 0, "text": "Hello World", "decoration": "none", "rotated": false, "kerning": true, "font": { "size": "14", "weight": "bold", "family": "Times New Roman" } } } ] } } ] } } ], "exportOptions": { "outputSize": [ 800, 1100 ], "dpi": 96 }}

Étapes pour reproduire

ID de bogue: NIM091118

Logiciel:

  • ArcGIS API for JavaScript

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