PDA

View Full Version : CLLocation MAnager & MapKit




RashiMahajan
Nov 21, 2009, 11:15 AM
Hi,
1.I am using CLocation manager to get my location bt its returning me 37.331689 & -122.030731 values as Latitude & longitude, i think these are some US location values. How i can get mine actual location values :(
I have never used CClocation manager before in y any app.
2. My second confusion is this, after getting current location,if i will launch teh google map , i will be out from my native application, can i launch teh mapkit with those values & then getting some location form the user, can i go back to my native application

I know these are very basic question bt i hv never worked on the mapkit & clllocation manager.
Thanks in advance for ur buddies help :)



dejo
Nov 21, 2009, 01:18 PM
1.I am using CLocation manager to get my location bt its returning me 37.331689 & -122.030731 values as Latitude & longitude, i think these are some US location values. How i can get mine actual location values :(
Are you trying this in the simulator? I believe it returns the lat/long of Apple's HQ in Cupertino then.

RashiMahajan
Nov 22, 2009, 01:11 AM
Yes m trying this on simulator......
Will it return me exact accurate values on device?
If yes, will it allow me to open the map kit with those values & then selecting anyother poition on map , it will allow me to go back to my application,
please let me know coz i have nt worked on mapkit & location manager in iphone