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 [url removed, login to view],[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.delegate=self;

//locationManager.desiredAccuracy=kCLLocationAccuracyNearestTenMeters;

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

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

geoCoder.delegate=self;

[geoCoder start];

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

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

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

region.span=span;

region.center=location2;

[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ün: website animated map, line map, location services google, google play code, free seo services website, free design app, free animated website, change app design iphone, animated view, appstore google, seo app, my location , location, location tracking, gps map app, gps location, app seo, 100 lines code, problem iphone, cllocationmanager, google current location, change google, location services, app zoom, map file

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

Proje NO: #2224949