crichman

Clone a Server-based FeatureLayer to a local one?

Discussion created by crichman on Oct 8, 2010
Latest reply on Oct 14, 2010 by crichman
I'd like to populate a new local FeatureLayer (via its featureCollection) to match the features in a server-based FeatureLayer.  Any suggestions on a clean way do that? 

Clearly you can't grab the featureCollection from the source layer -- it's null.  Am I better off running a query against the source layer, or grabbing its graphicsProvider info?  (And how do you create a query that returns all records, anyway?)

Ideally I'd preserver symbology as well...

Thanks, folks.

Charlie Richman
DC Office of Planning

Outcomes