Skip to content

Commit

Permalink
Fix default directions edge padding. Why does it have to be that big,…
Browse files Browse the repository at this point in the history
… needs testing on device
  • Loading branch information
myell0w committed May 6, 2013
1 parent 0b3dfa5 commit 264233f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MTDirectionsKit/UI/GoogleMapsSDK/MTDGMSMapView.h
Expand Up @@ -91,7 +91,7 @@

/**
The padding that will be used when zooming the map to the displayed directions.
If not specified, a default padding 35.f will be used.
If not specified, a default padding of 125.f will be used.
*/
@property (nonatomic, assign) CGFloat directionsEdgePadding;

Expand Down
2 changes: 1 addition & 1 deletion MTDirectionsKit/UI/GoogleMapsSDK/MTDGMSMapView.m
Expand Up @@ -567,7 +567,7 @@ - (void)mtd_setup {
[super setDelegate:self];

_directionsDisplayType = MTDDirectionsDisplayTypeNone;
_directionsEdgePadding = 35.f;
_directionsEdgePadding = 125.f;
// TODO: GoogleMapsSDK
//_mtd_delegateProxy = [[MTDMapViewDelegateProxy alloc] initWithMapView:self];
}
Expand Down

0 comments on commit 264233f

Please sign in to comment.