Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 01-29-2010, 03:52 AM   #2 (permalink)
Jeepston
Registered Member
 
Join Date: Apr 2009
Posts: 81
Jeepston is on a distinguished road
Default

Put this in the method where you get updated location


Code:
   MKCoordinateRegion region;
    region.center=location.coordinate;
    //Set Zoom level using Span
    MKCoordinateSpan span;
    span.latitudeDelta=.002;
    span.longitudeDelta=.002;
    region.span=span;
    [mapView setRegion:region animated:YES];
__________________
iPhone 2G 8Gb 3.1.2 JB, 3G 16Gb 3.1.2 JB, 3GS 16 Gb 3.1.2 JB
MB5,1 C2D 2GHz 2GB RAM
Mac OS X 10.5.8
Jeepston is offline   Reply With Quote
 

» Advertisements
» Online Users: 507
18 members and 489 guests
baja_yu, Brian965, David-T, givensur, Hassasin, HemiMG, Hyde, jbro, kasumar, kazbluesky, linkmx, mediaspree, mezzh, sanlows, schaney1403, sTerrenceTatel, Thompson22, yvonneolivia
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,441
Threads: 94,026
Posts: 402,591
Top Poster: BrianSlick (7,978)
Welcome to our newest member, kasumar
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 08:54 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.