Select to view content in your preferred language

Print BaseMap at small scale fails

3153
0
12-11-2015 07:25 AM
AlessandroValra
Frequent Contributor

I am trying to export as PDF a JSON WebMap containing a standard ESRI basemap and two public Secrvice layers.

I tried to test it with "Export Web Map Task" at this link.

The PDF looks fine for scales greater than 1:2000 (more or less), but when I try to print at (e.g.) 1:100 the basemap is not showing (grey tiles, see here). I don't understand why is this happening.

My JSON looks like this:

{'mapOptions': {'rotation': 0, 'scale': 100.0, 'extent': {'xmin': 1005818.0761928607, 'ymin': 5705477.825487794, 'ymax': 5706163.610325366, 'xmax': 1006396.7567358984, 'spatialReference': {'wkid': 102100}}}, 'operationalLayers': [{'url': 'http://www.geomaster.it:6080/arcgis/rest/services/DEMO/DEMO_Punti_luce/MapServer', 'opacity': '1', 'token': '', 'id': '0', 'visibleLayers': [0, 1, 2]}, {'url': 'http://www.geomaster.it:6080/arcgis/rest/services/DEMO/Punti_interesse/MapServer', 'opacity': '1', 'token': '', 'id': '1', 'visibleLayers': [0]}, {}], 'baseMap': {'baseMapLayers': [{'url': 'http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer', 'opacity': 1}], 'title': 'SERVIZIO DI BASE'}, 'layoutOptions': {'legendOptions': {'operationalLayers': [{'id': '0'}, {'id': '1'}]}, 'titleText': 'TUTTIWIDGET'}}

0 Kudos
0 Replies