laptop and a wrench

Error

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

Última publicación: August 25, 2014 ArcGIS API for JavaScript
Número de ID del error NIM091118
EnviadoApril 30, 2013
Última modificaciónJune 5, 2024
Relacionado conArcGIS API for JavaScript
Versión encontrada3.4
EstadoWill Not Be Addressed

Información adicional

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

Solución alternativa

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

Pasos para reproducir

ID del error: NIM091118

Software:

  • ArcGIS API for JavaScript

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga