diff --git a/src/components/InfoWindow.js b/src/components/InfoWindow.js index 715c33dc..5c21877c 100644 --- a/src/components/InfoWindow.js +++ b/src/components/InfoWindow.js @@ -62,13 +62,13 @@ export class InfoWindow extends React.Component { onOpen() { if (this.props.onOpen) { - this.props.onOpen(); + this.props.onOpen(this.props); } } onClose() { if (this.props.onClose) { - this.props.onClose(); + this.props.onClose(this.props); } }