ios - Doesn't Show Current location on google map? -


i using google map sdk version 1.9.1.

i want display map current location .

here 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 can't display current location. appreciate help.

you must set location in

debug>location>custom lacation

like

enter image description here

if can test in device enable location in setting screen


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -