Render Title of MKPolygon
I'm trying to render MKPolygon using the following code: NSMutableArray *overlays = [NSMutableArray array]; for (NSDictionary *state in states) { NSArray *points = [state valueForKeyPath:@"point"]; NSInteger numberOfCoordinates = [points count]; CLLocationCoordinate2D *polygonPoints = malloc(numberOfCoordinates * sizeof(CLLocationCoordinate2D)); NSInteger index = 0; for (NSDictionary *pointDict in points) { polygonPoints[index] = CLLocationCoordinate2DMake([[pointDict valueForKeyPath:@"latitude"] floatValue], [[pointDict valueForKeyPath:@"longitude"] floatValue]); index++; } MKPolygon