From REST call to Map

603
0
07-19-2013 09:05 AM
BrianKowalski
New Contributor III
I would like to make a REST API Query call and populate an Layer object (of some type) with the results.
I could also work with a RowCollection if there is a way to do that.


For example: Create a FeatureLayer from a REST URL.

FeatureLayer flResult = FeatureLayer.CreateFromREST("http://services.arcgisonline.com/arcgis/rest/services/Demographics/USA_Population_Density/MapServer/...");

Obviously there is no CreateFromREST but does anyone have ideas on creating any kind of AGX API object from a rest call such as this?

Thanks much
0 Kudos
0 Replies