Skip to content

Instantly share code, notes, and snippets.

@twoism
Created October 28, 2009 03:35
Show Gist options
  • Save twoism/220211 to your computer and use it in GitHub Desktop.
Save twoism/220211 to your computer and use it in GitHub Desktop.
CLLocationCoordinate2D myHouse;
myHouse.latitude = 33.760174;
myHouse.longitude = -84.332780;
[GLocation getLocalResultsForLocation:myHouse withQuery:@"Restaurants" withDelegate:self];
// Returns
/*
GLocationTest/testResultsForGLocation 2009-10-27 23:41:16.803 Unit Tests[41965:207] <Flying Biscuit Cafe 1655 McLendon Ave NE Atlanta GA 33.764835 -84.333260>
2009-10-27 23:41:16.803 Unit Tests[41965:207] <Radial Cafe 1530 Dekalb Ave NE Atlanta GA 33.762775 -84.337692>
2009-10-27 23:41:16.804 Unit Tests[41965:207] <La Fonda Latina 1639 McLendon Ave NE Atlanta GA 33.764652 -84.333778>
2009-10-27 23:41:16.804 Unit Tests[41965:207] <Fellini's Pizza 1634 McLendon Ave NE Atlanta GA 33.765099 -84.333900>
2009-10-27 23:41:16.805 Unit Tests[41965:207] <Gato Bizco Cafe 1660 McLendon Ave NE Atlanta GA 33.764877 -84.333099>
2009-10-27 23:41:16.805 Unit Tests[41965:207] <Gourmet Station 328 Mell Ave NE Atlanta GA 33.763153 -84.337479>
2009-10-27 23:41:16.806 Unit Tests[41965:207] <Fellini's Pizza 1610 DeKalb Ave NE Atlanta GA 33.762730 -84.334846>
2009-10-27 23:41:16.806 Unit Tests[41965:207] <Breukelen Mojo Coffeehouse 1610 Hosea L Williams Dr SE Atlanta GA 33.753525 -84.335197>
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment