dojo.require("esri.renderers.jsonUtils")
Description
(Added at v3.8)
Utility method to create a renderer from JSON.
When coding legacy (non-AMD) style, there is no need to require the module. All methods and properties are available in the namespace. For example,
esri.renderers.fromJson()
.
Samples
Search for
samples that use this class.
Methods
Method Details
Converts the input JSON object to the appropriate esri.renderer.* object.
Parameters:
<Object > json |
Required |
The JSON object. |
Sample:
var renderer = esri.renderer.fromJson(uvrJson);