LayerDrawingOptions

899
6
12-28-2011 05:48 AM
RobertScheitlin__GISP
MVP Emeritus
I have a question about the LayerDrawingOptions. When I set a desired renderer for a particular layer in a map service it works great but many of the layers I do not specify new renderers for do not draw using their default renderer or do not draw at all. Is this the designed behavior?
Tags (2)
0 Kudos
6 Replies
DasaPaddock
Esri Regular Contributor
No, the other layers should still draw using the renderer they were authored with. Can you reproduce this using a service at: http://servicesbeta4.esri.com/arcgis/rest/services
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Dasa,

   I can not get the sample (ChangeLayerDrawingOptions.mxml) to work at all with that MapService... I at least got it to change the renderer for 3 layers using my ArcGIS 10.1 b2 server.
0 Kudos
BjornSvensson
Esri Regular Contributor
Please try again. The service had some hiccup...
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Bjorn,

   Now I see it working. Now to see if my server has some huccup too...
0 Kudos
PaulHastings1
Occasional Contributor
Bjorn,

   Now I see it working. Now to see if my server has some huccup too...


can i dredge up this old thread?

i'm seeing the same behavior. i can fiddle w/the example map service just fine but our local one's returning a NULL layerDrawingOptions array. that map service also has a feature service as well. could that be the fly in this ointment? if so, any workarounds?

thanks.
0 Kudos
PaulHastings1
Occasional Contributor
nevermind...Service must report "Supports Dynamic Layers: true".
0 Kudos