//add the group layer and the specific sublayers of interest to the map so that they are both sent to the print service as well visLayers = [0,1,2,3] dynLayer.setVisibleLayers(visLayers);
Is the suggestion for fixing that I modify the layers when printing to show all?
{"mapOptions":{"showAttribution":false,"extent":{"xmin":-582369.7281529,"ymin":888607.0117303578,"xmax":2489154.663159769,"ymax":1711157.6325260433,"spatialReference":{"wkid":3483}},"spatialReference":{"wkid":3483}},"operationalLayers":[{"id":"bground_0","title":"bground_0","opacity":1,"minScale":2311162,"maxScale":1128.5,"url":"http://privateServer/arcgis/rest/services/Backgrounds/Background_2/MapServer"},{"id":"parcels_0","title":"parcels_0","opacity":1,"minScale":4514,"maxScale":1128.5,"url":"http://mcgis.mohavecounty.us/ArcGIS/rest/services/PARCELS/MapServer","visibleLayers":[0],"layers":[]},{"id":"mapping_0","title":"mapping_0","opacity":1,"minScale":2311162,"maxScale":1128.5,"url":"http://privateServer/arcgis/rest/services/Studies/Topography2/MapServer"},{"id":"ESRITest_0","title":"ESRITest_0","opacity":1,"minScale":0,"maxScale":0,"url":"http://sampleserver6.arcgisonline.com/arcgis/rest/services/SampleWorldCities/MapServer","visibleLayers":null,"layers":[]},{"id":"roads_0","title":"roads_0","opacity":1,"minScale":0,"maxScale":0,"url":"http://privateServer/arcgis/rest/services/Backgrounds/Streets_250k_4/MapServer","visibleLayers":null,"layers":[]},{"id":"roads_1","title":"roads_1","opacity":1,"minScale":36112,"maxScale":1128.5,"url":"http://mcgis.mohavecounty.us/ArcGIS/rest/services/ROADS/MapServer","visibleLayers":[5,10],"layers":[]},{"id":"labels_0","title":"labels_0","opacity":1,"minScale":0,"maxScale":0,"url":"http://privateServer/arcgis/rest/services/Backgrounds/Label_Points_2/MapServer","visibleLayers":null,"layers":[]}],"exportOptions":{"outputSize":[800,1100],"dpi":96}}
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.