AGSGPS & Current Heading

719
6
12-11-2012 08:38 AM
AaronConnolly
Occasional Contributor
Hi,

I'm curious to know if the AGSGPS class supports a way of getting at the CLHeading that is monitored by the CLLocaitonManager. I've read that you have a facade sitting on the CLLocationManager and judging by the CLLocation property on AGSGPS that you could probably add a getter heading property as well.

Is this going to be added to the AGSGPS class in the future or do I have to hook up my own instance of CLLocationManager and listen for the headingUpdate message? I'd rather not have to do both because the AGSGPS class abstracts this nicely for me already.

Thanks,
- Aaron
0 Kudos
6 Replies
NimeshJarecha
Esri Regular Contributor
Why you want to hook up your own CLLocaitonManager? AGSGPS does all that and abstracting all details. What is missing? What you want more?

Regards,
Nimesh
0 Kudos
AaronConnolly
Occasional Contributor
Hi Nimesh,

As of the time I asked the question the AGSGPS class did not expose a "heading" or "course" property that provides the direction the device is facing/heading toward. That is why I had to hook up CLLocationManager. Has this changed?

Thanks,
- Aaron
0 Kudos
NimeshJarecha
Esri Regular Contributor
Just wait for the next version of the SDK 🙂

Regards,
Nimesh
0 Kudos
AaronConnolly
Occasional Contributor
Excellent. Do you know about when the next version will be released?
0 Kudos
NimeshJarecha
Esri Regular Contributor
Very soon, that's the only thing I can say right now 🙂
0 Kudos
AaronConnolly
Occasional Contributor
Very soon, that's the only thing I can say right now 🙂


No problem. Thanks for all the info.
0 Kudos