Thursday, May 17, 2012

Location Related

  1. How to find altitude value programmatically when your device connected to wifi ?
Ans:  When you are connected to wifi, you will not be able to get altitude value, using corelocation framework methods. it will return value 0. Even you will connected to gps, its not always sure that you will get altitude value.

So how to get altitude value ???
we searched a bit and found, "Google Elevation API" which helps you to find altitude value based on location.

Here is an Example:

1 comment:

  1. we have just discussing this problem today morning, so we tried to find solution for that, and hopefully we have found and published.