Skip to content

Commit

Permalink
animateMarkerToCoordinate of undefined (react-native-maps#3569)
Browse files Browse the repository at this point in the history
  • Loading branch information
hussainahmad authored Oct 1, 2020
1 parent 0ef581c commit 87e343b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ componentWillReceiveProps(nextProps) {
if (this.props.coordinate !== nextProps.coordinate) {
if (Platform.OS === 'android') {
if (this.marker) {
this.marker._component.animateMarkerToCoordinate(
this.marker.animateMarkerToCoordinate(
nextProps.coordinate,
duration
);
Expand Down Expand Up @@ -523,7 +523,7 @@ componentWillReceiveProps(nextProps) {
if (this.props.coordinate !== nextProps.coordinate) {
if (Platform.OS === 'android') {
if (this.marker) {
this.marker._component.animateMarkerToCoordinate(
this.marker.animateMarkerToCoordinate(
nextProps.coordinate,
duration
);
Expand Down

0 comments on commit 87e343b

Please sign in to comment.