Devam Ediyor

479039 Iphone app Google Map Location Services tweak

Hi I have an app on the appstore. [url removed, login to view]

I am having a problem, all the races and free races start from the same location. Users have to zoom out and move the map over to the current city before they can play. All the races are location specific however they all start 45.424702,[url removed, login to view] Here. even though the games are 100 miles to 1000 miles away. I want it to use the location of the user instead of the location below as indicated in the mapviewcontroller.m file. Ideally I would like to be able to simply change the lines of longitude and latitude to "get longitude from user location" and "get latitude from user location" Or whatever works with the same end result.

Let me know if you have any questions. This is the code that is in my file. Perhaps you can tell me what to do?

//CLLocationManager *locationManager=[[CLLocationManager alloc] init];



// [locationManager startUpdatingLocation]; Activate this line for having GPS tracking working

geoCoder=[[MKReverseGeocoder alloc] initWithCoordinate:[url removed, login to view]];


[geoCoder start];

CLLocationCoordinate2D location2 = [url removed, login to view];


location2.longitude=[url removed, login to view];


[mapView setRegion:region animated:TRUE];

[mapView regionThatFits:region];

// [[url removed, login to view] insertSubview:mapView atIndex:0];

Beceriler: Animasyon, Her şey Kabul, GPS, iPhone, Mobile App Development, SEO, Web Sitesi Tasarımı

Daha fazlasını gör: what is google code, website animated map, on line map, location services google, google play code, free seo services for my website, free design app, free animated website, change app design iphone, apple i-works, animated view, change my location, appstore google, seo app, my location , location, location tracking, gps map app, gps location, app seo, app gps, 100 lines code, problem iphone, cllocationmanager, google current location

İşveren Hakkında:
( 29 değerlendirme ) Manotick, Canada

Proje NO: #2224949