Map Service Transparency not showing up in JavaScript Application

3395
2
03-08-2016 10:09 AM
TylerWaring
Occasional Contributor II

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

0 Kudos
2 Replies
MichaelVolz
Esteemed Contributor

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.

0 Kudos
TylerWaring
Occasional Contributor II

Whoops, It was a feature layer. I edited my post to reflect this detail.

0 Kudos