title: Launch Google maps app from iPhone application.
body: <p>I'm trying to launch google maps from my iPhone application.  </p>
  
  <p>The launching part works fine but since the iPhone 3.1 update (i think it was around this time) I get a zoomed out map of the US and Canada rather than zoomed in on my current location.  Everything worked fine originally but sometime around the update things stopped working correctly.</p>
  
  <p>Here is the string I've been using.  This works on my partners phone with iOS 3.0 and our iPod with iOS 2.2.1 but on my phone with iOS 3.1 shows a zoomed out map of Canada and the US.</p>
  
  <pre><code>  NSString *name = @"clothing";
  NSString *latlong = [[NSString alloc] initWithFormat:@"%@,%@", latitudeString, longitudeString];
  
  NSString *url = [NSString stringWithFormat: @"http://maps.google.com/maps?q=%@&amp;mrt=yp&amp;ll=%@",
                        [name stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding],
                        [latlong stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]];
  
  [[UIApplication sharedApplication] openURL:[NSURL URLWithString:url]];    
  [latlong release];
  </code></pre>
  
  <p>Any help is greatly appreciated.  </p>
  
  <p>Thanks in advance.</p>