require(["esri/layers/DataSource"], function(DataSource) { /* code goes here */ });
LayerDataSource.dataSource
Name | Summary |
---|---|
new DataSource(json?) | Creates a new DataSource object. |
< > json |
Optional | JSON object representing the DataSource. |