I am using google map sdk version 1.9.1.
I want to display map with current location .
here is my code.
@interface ViewController ()
{
GMSMapView *mapView_;
}
- (void)viewDidLoad {
[super viewDidLoad];
mapView_ = [GMSMapView mapWithFrame:CGRectMake(0.0f, 100.0f, 320.0f, 300.0f) camera:nil];
mapView_.myLocationEnabled = YES;
[self.view addSubview: mapView_];
}
but I can't display current location. appreciate for help.