title: How to return an annotation array "X" distance from given Lat & Lon?
body: <p>I want to return an array of X number of annotation from a method that takes a Lat and Lon. </p>
  
  <p>The Problem: Getting stuck on incrementing the given location Lat and Lon (preferably 1 mile north of given location, 1 mile east of given location, 1 mile west of given location or even better - 1 random mile from given location)  -Hope that made sense, thx for the help.</p>
  
  <p>Even better would be 1 mile random direction from given point but really any Lat&amp;Lon incrementation would do. Thx.</p>
  
  <p>this is the general code I have come up with</p>
  
  <pre><code>-(void)ViewDidLoad
  [super... ]
  
  
        [self.mapView addAnnotations:[self getPeepsWithinCurrentLocation:[[self deviceLat] floatValue] :[[self deviceLon] floatValue]]];
  
  
      }
  
  
  
  
      -(NSMutableArray *)getPeepsWithinCurrentLocation:(float)currentLat :(float)currentLon{
  
          NSMutableArray * myArrayOfPeeps  = [[NSMutableArray alloc] init];
  
  
            MapAddAnnotation *ann = [[MapAddAnnotation alloc]init];
      //    [self.mapView addAnnotation:ann];
  
  
          int list = 4;
  
         static float chgLat=0.1, chgLon=0.1;
           static float myLat,myLon;
  
          for (int i=0; i&lt; list; i++) {
  
      // get dictionary of peeps
              self.peeps = [self getMyInfo:[self.books objectAtIndex:i]];
  
      //        myLat = currentLat +chgLat;
      //        myLon = currentLon +chgLon;
  
              for (double k = 0; k &lt; .5; k+= 0.1) {
  
                     myLat = currentLat +k;
                     myLon = currentLon +k;
  
                          NSLog(@"log from new array list %f,%f", myLat,myLon);
  
                  /////  HHHHHMMMMM NOW what ??
  
  
  
              }
  
  
              MKCoordinateRegion region = {{0.0,0.0}, {0.0,0.0}};
              region.center.latitude = myLat;
              region.center.longitude = myLon;
              region.span.longitudeDelta = 0.01f;
              region.span.latitudeDelta=0.01f;
              //  [mapview setRegion:region animated:YES];
  
  
              ann.title = [self.peeps objectForKey:[NSString stringWithFormat:@"%@, %@", [self.peeps objectForKey:@"nameTextField"], [self.peeps objectForKey:@"lastnameTextField"]]];
              ann.subtitle = [self.peeps objectForKey:@"Titels_TxtField"];
              ann.coordinate = region.center;
  
  
              myLat = +0.1;
              myLon = +0.1;
  
  
              [myArrayOfPeeps addObject:ann];
  
              NSLog(@"log from new array list %@, %f,%f", [myArrayOfPeeps objectAtIndex:i], myLat,myLon);
  
              }
  
          NSLog(@"log from new array list %@, %@", myArrayOfPeeps, [NSString stringWithFormat:@"%f, %f", currentLat, currentLon]);
  
          return myArrayOfPeeps;
      }
  </code></pre>