Hi guys does anyone know how i would go about hiding labels in a ArcGISDynamicMapServiceLayer?
This is part of my code so far
var routeLayer = ArcGISDynamicMapServiceLayer(...);
var drawingOptions = new LayerDrawingOptions();
drawingOptions.showLabels = false;
var options = ;
options = drawingOptions;
After doing this however the layer isn't shown on the map.
Do i need to set the renderer property for drawingOptions also?