Hi there,I need some help on performing the AGSRouteTask in an iPhone app.In my code I put 2 stops in the RouteTaskParameters and try to calculate the route, but I get the following error:Error: Error Domain=NSCocoaErrorDomain Code=400 "Unable to complete operation." UserInfo=0x913940 { NSLocalizedFailureReason= Input field [STRASSE] was not mapped to a field in the network analysis class "Stops". Input field [TYP_ID] was not mapped to a field in the network analysis class "Stops". "and so on..." Location "Parkhaus Innstadt " in "Stops" is unlocated. Location "Parkhaus Innstadt " in "Stops" is unlocated. Invalid locations detected., NSURL= "long URL in here", NSLocalizedDescription=Unable to complete operation.}
The stops are initialized like this:AGSStopGraphic* stop = [[AGSStopGraphic alloc] initWithGeometry:parkingDeck._shape.geometry symbol:parkingDeck._shape.symbol attributes:parkingDeck._shape.attributes infoTemplateDelegate:parkingDeck._shape.infoTemplateDelegate];
"_shape" contains a reference to an AGSGraphic object from a db-query (db from an arcgis server).Is there something wrong with initializing the StopGraphic-objects? Or whats wrong with that?A little hint would be very helpfull! If you need more information, please tell me!Thanks in advance!GreetingsPhilipp