PDA

View Full Version : [iOS] ISSUE [[SKGPSFilesService new] locationsForElement:element]



high5fly
29.03.2016, 16:52
Hi,

This line [[SKGPSFilesService new] locationsForElement:element] returns always the locations from the 1st element send to this service. Would you please check it with your developers.

KR,
Milo

Adela_Silvia
30.03.2016, 17:04
From documentation
"An array of CLLocation objects, representing the locations of a SKGPSFileElement. For some element types ( SKGPSFileElementGPXRoutePoint, SKGPSFileElementGPXTrackPoint, SKGPSFileElementGPXWaypoint ), it will contain only one object ." http://developer.skobbler.com/docs/ios/2.5.1/Classes/SKGPSFilesService.html#//api/name/locationsForElement:

high5fly
30.03.2016, 17:17
I have found a work around and sadly didn't saved the not working case to show the code compared to the one worked. :(

Adela_Silvia
31.03.2016, 08:06
No problem. If the workaround is a good solution for now than it's ok. Let us know if you have follow up questions.