AnsweredAssumed Answered

JPG format as parameter for service request URL in WAB

Question asked by ialixandroaeesriro-ro-esridist Employee on Jul 23, 2017
Latest reply on Jul 25, 2017 by rscheitlin

Hi guys,

 

I have a question regarding changing the format for the request for data (map services) inside an application made with WAB for developers (2.4).

 

The application contains several layers which were cached layers published as map services. The cache format is JPG but when I check the request format for data, the format request from client is PNG and the data is loading very slowly, even if the service is cached data.

 

If someone could tell me where exactly to modify or to specify the request format; if I should specify in WAB code or if there`s something about the GIS service that should be changed..

 

The serivce request looks like this:

https://domain/arcgis/rest/services/Folder/ServiceName/MapServer/export?dpi=96&transparent=true&format=png32&layers=show%3A-1%2C-1%2C-1&bbox=-108530.93828921515%2C225676.9179301192%2C1110671.5001156619%2C816228.0990324814&bboxSR=3844&imageSR=3844&size=1536%2C744&f=image

 

 

 

Also, none of the layers in ArcMap had transparency before publishing..

 

Thanks,

Ionut

Outcomes