dojo.require("esri.layers.LayerDrawingOptions")
Description
(Added at v2.7)
The LayerDrawingOptions class provides options for setting ArcGISDynamicMapServiceLayer rendering options.
Requires ArcGIS Server 10.1 or greater.
Samples
Search for
samples that use this class.
Constructors
Properties
Methods
toJson() | Object | Converts object to its ArcGIS Server JSON representation. |
Constructor Details
Creates a new LayerDrawingOptions object.
Parameters:
<Object > json |
Optional |
JSON object representing the LayerDrawingOptions. |
Sample:
var layerDrawingOption = new esri.layers.LayerDrawingOptions();
Property Details
Define labels of dynamicLayers
. (Added at v3.6)
The renderer to use for the dynamic layer.
Sample:
var renderer = new esri.renderer.SimpleRenderer(symbol);
layerDrawingOptions.renderer = renderer;
Determines if the layer renders the symbols based on scale. When false the layer does not render the symbols based on scale.
Known values: true | false
Determines if labels are displayed. When false, labels for the layer are not displayed.
Known values: true | false
The transparency of the layer. Values range from 0 to 100 where 0 is opaque and 100 is 100% transparent.
Method Details
Converts object to its ArcGIS Server JSON representation.