title: how to hide labels from Arcgisdynamic Layer javascriot/
body: <p>I want to hide labels from Arcgisdynamic layer.</p>
  <p>Below is the code,</p>
  <pre><code>var drawingOptions = new LayerDrawingOptions();
  drawingOptions.showLabels = false;
  var options = [];
  options[0] = drawingOptions;
  mylayer.setLayerDrawingOptions(options);
  var sls = new SimpleLineSymbol(SimpleLineSymbol.STYLE_SOLID, esri.Color([255, 255, 0]), 3);
  drawingOptions.renderer = SimpleRenderer(sls); 
  </code></pre>
  <p>When i add the above code my layer is not showing. I am using javascript 3.0 API</p>