Try this... Create Dictionary from json and pass it in this function... it will return you MKPolygon
-(MKPolygon *)getPointsForDic:(NSMutableDictionary *)dic
{
NSMutableSet *set = [[NSMutableSet alloc] init];
NSMutableArray *arr = [dic valueForKey:@"districts"];
for (int i = 0; i < arr.count; i++)
{
NSMutableDictionary *dicPoints = [arr objectAtIndex:i];
[set addObjectsFromArray:[dicPoints valueForKey:@"Points"]];
}
int count = set.count;
CLLocationCoordinate2D *coords = calloc(count, sizeof(CLLocationCoordinate2D));
int i = 0;
for (NSMutableDictionary *dicT in set)
{
CLLocationCoordinate2D coord = CLLocationCoordinate2DMake([[dicT valueForKey:@"latitude"] floatValue], [[dicT valueForKey:@"longitude"] floatValue]);
coords[coordIdx++] = coord;
i++;
}
MKPolygon *commuterPoly1 = [MKPolygon polygonWithCoordinates:coords count:count];
[commuterPoly1 setTitle:@"first"];
return commuterPoly1;
}