How can I set the image format for a basemap layer?

384
1
05-01-2011 11:52 PM
AxelSchaefer
New Contributor II
Hi.

I want to set the imageformat for a basemap layer. All dynamic layers, that I defined in my basemap gallery are shown as png8.

The esri.dijit.BasemapLayer doesn't have a method or property and is not directly dependand from esri.Layer. I don't see an easy way to set the imageformat to jpg.

Why? In my scenario I put some dynamic layers into the basemap gallery. I have some reasons to do it this way and I cannot cache/tile them. The performance of my dynamic layers is great and the response < 2 seconds. But I need the response in JPG. Or PNG32 - Well anything that is better than PNG8.

Does anybody know how to do that?

Thanks in advance.
Axel
0 Kudos
1 Reply
AdrianMarsden
Occasional Contributor III
did you ever sort this?  I have the same issue - a small internal service that I want as a dynamic layer, but I want jpg or png32.

ACM
0 Kudos