Skip to content

Commit

Permalink
Merge pull request apptreesoftware#34 from nunorpg/master
Browse files Browse the repository at this point in the history
fix iOS Location
  • Loading branch information
matthewtsmith authored Apr 6, 2018
2 parents 1a35b96 + b157809 commit fabac04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Classes/MapViewPlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ - (void)handleMethodCall:(FlutterMethodCall *)call result:(FlutterResult)result
navController.navigationBar.translucent = NO;
[self.host presentViewController:navController animated:true completion:nil];
self.mapViewController = vc;
[self.mapViewController setLocationEnabled:[call.arguments[@"showUserLocation"] boolValue]];
[self.mapViewController setLocationEnabled:[mapOptions[@"showUserLocation"] boolValue]];
result(@YES);
} else if ([@"setAnnotations" isEqualToString:call.method]) {
[self handleSetAnnotations:call.arguments];
Expand Down

0 comments on commit fabac04

Please sign in to comment.