1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#import "MGLPolygon.h" #import "MGLMultiPoint_Private.h" @implementation MGLPolygon @dynamic overlayBounds; + (instancetype)polygonWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count { return [[self alloc] initWithCoordinates:coords count:count]; } @end