I am trying to use dynamic layers to restyle some data from the USA national map server. Here is a tile call without dynamic layers. This call works fine.
https://carto.nationalmap.gov/arcgis/rest/services/transportation/MapServer/export?bbox=-13524806.003293231,6001415.0572964735,-13515022.063672727,5998242.9206226375&size=512,512&dpi=96&format=png24&transparent=true&bboxSR=3857&imageSR=3857&layers=show:34&f=image
And here is the same call with dynamic layers. The server responds "Bad request".
https://carto.nationalmap.gov/arcgis/rest/services/transportation/MapServer/export?bbox=-13524806.003293231,6001415.0572964735,-13515022.063672727,5998242.9206226375&size=512,512&dpi=96&format=png24&transparent=true&bboxSR=3857&imageSR=3857&dynamicLayers=[{'source':{'type':'mapLayer','mapLayerId':34},'drawingInfo':{'renderer':{'type':'simple','symbol':{'type':'esriSLS','style':'esriSLSSolid','color':[0,255,0,255],'width':5}}}}]&layers=show:34&f=image
Is it me? Is it the server? Can anyone shed light?
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.