Discussion Forums  >  Uncategorized

Replies: 1    Views: 244

Racer X
buzztouch Evangelist
Profile
Posts: 129
Reg: Mar 24, 2011
Boston, MA
5,490
11/22/11 03:57 AM (14 years ago)

Show User Location Button

I have a map screen and have enabled the Show User Location Button. It works fine, but I don't want it to zoom in so far. The regular default map zoom is fine, its the Show User Location Button zoom I am having trouble with. Does anyone know how to make the default zoom not zoom in so far with the Show User Location Button?
 
Racer X
buzztouch Evangelist
Profile
Posts: 129
Reg: Mar 24, 2011
Boston, MA
5,490
like
11/23/11 10:25 AM (14 years ago)
Never mind, I think I found it in the source code. Changing the below number (7) to another value appears to change the user button default zoom. I need to test it some more, but so far so good. [self.mapView setCenterCoordinate:tmpLocation zoomLevel:7 animated:YES];
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.