Skip to content

Commit

Permalink
Merge pull request react-native-maps#936 from RajkumarPunchh/FitToEle…
Browse files Browse the repository at this point in the history
…ments-Fix

Fixed issue react-native-maps#751.
  • Loading branch information
Spike Brehm authored Jan 6, 2017
2 parents fcc2995 + 1af45a7 commit 022b2cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ios/AirMaps/AIRMapManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,9 @@ - (UIView *)view
} else {
AIRMap *mapView = (AIRMap *)view;
// TODO(lmr): we potentially want to include overlays here... and could concat the two arrays together.
[mapView showAnnotations:mapView.annotations animated:animated];
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 0.1 * NSEC_PER_SEC), dispatch_get_main_queue(), ^{
[mapView showAnnotations:mapView.annotations animated:animated];
});
}
}];
}
Expand Down

0 comments on commit 022b2cc

Please sign in to comment.