Skip to content

Instantly share code, notes, and snippets.

@dpfannenstiel
Created March 16, 2014 02:23
Show Gist options
  • Save dpfannenstiel/78b3104a24ce606ee073 to your computer and use it in GitHub Desktop.
Save dpfannenstiel/78b3104a24ce606ee073 to your computer and use it in GitHub Desktop.
MKOverlay
#pragma mark - MKOverlay
#pragma mark Describing the Overlay Geometry
-(CLLocationCoordinate2D)coordinate {
return CLLocationCoordinate2DMake(0, 0);
}
-(MKMapRect)boundingMapRect {
return MKMapRectMake(0, 0, 0, 0);
}
#pragma mark Determining Map Intersections
-(BOOL)intersectsMapRect:(MKMapRect)mapRect {
return NO;
}
#pragma mark Optimizing Map Rendering
-(BOOL)canReplaceMapContent {
return NO;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment