Skip to content

Commit

Permalink
Add Marker.redraw() method to TypeScript typings (react-native-maps…
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Bekkiev authored Feb 8, 2020
1 parent 39d92f7 commit d1c79d2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,11 @@ declare module "react-native-maps" {
* __iOS only__
*/
redrawCallout(): void;
/**
* Causes a redraw of the marker. Useful when there are updates to the
* marker and `tracksViewChanges` comes with a cost that is too high.
*/
redraw(): void
/**
* Animates marker movement.
* __Android only__
Expand Down

0 comments on commit d1c79d2

Please sign in to comment.