Discussion Forums  >  Uncategorized

Replies: 0    Views: 209

Kahuna
Apple Fan
Profile
Posts: 137
Reg: Nov 18, 2011
Milan
4,670
12/22/11 08:54 AM (14 years ago)

Map Type Buttons

Hi, is it possible to change the map type buttons?I'd like to have the usual word (satellite, hybrid, ecc.) or another icon if it's possible. I have a map which I'd like the user to choose the view between standard and hybrid. In the BT_Screen_map.h I find this code, but I guess it refers to the default view //shows map type -(void)showMapType:(id)sender{ if([sender tag] == 1){ [self.mapView setMapType:MKMapTypeStandard]; [BT_debugger showIt:self:[NSString stringWithFormat:@showMapType: %@, @standard]]; } if([sender tag] == 2){ [self.mapView setMapType:MKMapTypeSatellite]; [BT_debugger showIt:self:[NSString stringWithFormat:@showMapType: %@, @terrain]]; } if([sender tag] == 3){ [self.mapView setMapType:MKMapTypeHybrid]; [BT_debugger showIt:self:[NSString stringWithFormat:@showMapType: %@, @hybrid]]; } } Where do I find the code for the showMapTypeButtons I have in my app's configuration data? Thank you Kahuna
 

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.