laptop and a wrench

Bug

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

Last Published: August 25, 2014 ArcGIS API for JavaScript
Bug ID Number NIM091118
SubmittedApril 30, 2013
Last ModifiedJune 5, 2024
Applies toArcGIS API for JavaScript
Version found3.4
StatusWill Not Be Addressed

Additional Information

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

Workaround

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

Steps to Reproduce

Bug ID: NIM091118

Software:

  • ArcGIS API for JavaScript

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options