embedding google maps in UIWebView without asking for location permissions and showing the google panel
问题 I'm using google maps loaded in a UIWebView to display direction between 2 locations here's the url I'm loading in the UIWebView NSString *routeString = [NSString stringWithFormat:@"http://maps.google.com/maps?saddr=%f,%f&daddr=%f,%f&output=embed",[myData.myLat doubleValue],[myData.myLng doubleValue],[view.annotation coordinate].latitude,[view.annotation coordinate].longitude]; when I remove the output=ember parameter the google panel is displayed but the UIWebView asks for permission to get