Skip to content

Commit e3eacd1

Browse files
author
Marcin Iwanicki
committed
Merge pull request #2 from DmitryPR/master
2 parents d09f266 + fac0b15 commit e3eacd1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Source/OCGoogleDirectionsAPI/Response/Attributes/OCDirectionsRoute.m

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ - (void)loadAllProperties
4646
[self loadWaypointOrder];
4747
[self loadOverviewPolyline];
4848
[self loadBounds];
49+
[self loadSummary];
4950
}
5051

5152
- (void)loadLegs
@@ -97,4 +98,10 @@ - (void)loadBounds
9798
_bounds = bounds;
9899
}
99100

101+
- (void)loadSummary
102+
{
103+
NSString *summary = [_dictionary objectForKey:kCGGoogleDirectionsResponseAttributeRouteSummary];
104+
_summary = summary;
105+
}
106+
100107
@end

0 commit comments

Comments
 (0)