Greetings, I have set up a map service with labels and transparency. When I view the service in the REST endpoint via the ArcGIS JavaScript API the labels and transparencies come through correctly. However, in my JavaScript application neither the labels nor the transparency come trough. I am also getting the following error when loading this layer:
n {message: "Request canceled", response: Object, status: undefined, responseText: undefined, xhr: XMLHttpRequest…}
What can I do to get this layer to load correctly?
Thanks, Tyler
Did you setup ImageParameters for your dynamic mapservice so it would recognize transparency? I don't believe this code was in the ESRI samples, so I needed to work with technical support to use this parameter for transparency of a dynamic mapservice to work in the javascript api.
Whoops, It was a feature layer. I edited my post to reflect this detail.