AnsweredAssumed Answered

Using my location on a geoprocessingTask in iOS SDK version 100.0.0

Question asked by ethan.berg on Feb 10, 2017
Latest reply on Feb 10, 2017 by Gagandeep_Singh-esristaff

I'm trying to upgrade to the newest version of the SDK in one of my apps and I can't figure out how to make an AGSGeoProcessingFeatures paramter with a feature that I created locally. it says it can be initialized with an AGSFeatureSet but that's just a Protocol and can't be initialized itself. I used to be able to do it like this: 

 

let agsGraphic = AGSGraphic(geometry: mapPoint, symbol: markerSymbol, attributes: nil)

let features = AGSFeatureSet(features: [agsGraphic])

let locationParam = AGSGPParameterValue(name: "Input_Feature", type:    AGSGPParameterType.FeatureRecordSetLayer, value: features)

 

Did AGSFeatureSet intentionally become less functional? is this going to be implemented in a release soon? should I make my own class that extends it? What do I do? 

 

I realize that version 100.0.0 is not 100% where they want it to be, should I just hold off until there are a few more updates out?

 

Thanks,

Ethan

Outcomes