Select to view content in your preferred language

Export Web Map Not Showing Layer

155
0
09-19-2024 08:18 AM
MichaelWen_Timmons
Occasional Contributor

I'm having trouble getting a layer to show in print using export web map. This is reproducible using the ESRI public print service https://utility.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%...

When using this web map as json the 'parcels' layer can be seen in the pdf output.

{"mapOptions":{"scale":null,"extent":{"xmin":-8591944.8515932,"ymin":4708723.6454498,"xmax":-8590798.296169,"ymax":4708225.6104374,"spatialReference":{"wkid":102100}},"spatialReference":{"wkid":102100}},"operationalLayers":[{"visibleLayers":[0],"layers":[{"id":0,"layerDefinition":{"definitionExpression":""}}],"id":"Parcels","title":"Parcels","url":"https://gismaps.vdem.virginia.gov/arcgis/rest/services/VA_Base_Layers/VA_Parcels/MapServer"}],"baseMap":{"title":"ESRI World Imagery","baseMapLayers":[{"url":"https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer"}]},"exportOptions":{"dpi":300,"outputSize":[2000,2000]}}

but this one does not : 

{"mapOptions":{"scale":null,"extent":{"xmin":-8591944.8515932,"ymin":4708723.6454498,"xmax":-8590798.296169,"ymax":4708225.6104374,"spatialReference":{"wkid":102100}},"spatialReference":{"wkid":102100}},"operationalLayers":[{"visibleLayers":[0],"layers":[{"id":0,"layerDefinition":{"definitionExpression":""}}],"id":"Parcels","title":"Parcels","url":"https://vginmaps.vdem.virginia.gov/arcgis/rest/services/VA_Base_Layers/VA_Parcels/MapServer"}],"baseMap":{"title":"ESRI World Imagery","baseMapLayers":[{"url":"https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer"}]},"exportOptions":{"dpi":300,"outputSize":[2000,2000]}}

The JSONs are identical except for the url. 

There is nothing wrong with the 'parcels' url if you view it in a web map viewer. 

 

 

 

 

0 Kudos
0 Replies