laptop and a wrench

漏洞

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

上次发布: August 25, 2014 ArcGIS API for JavaScript
漏洞 ID 编号 NIM091118
已提交April 30, 2013
上次修改时间June 5, 2024
适用范围ArcGIS API for JavaScript
找到的版本3.4
状态Will Not Be Addressed

附加信息

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

解决办法

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

重现步骤

漏洞 ID: NIM091118

软件:

  • ArcGIS API for JavaScript

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项