react-google-maps icon indicating copy to clipboard operation
react-google-maps copied to clipboard

InfoWindow No OnCloseClick Event for React Google Maps v 4.11.0 and also in v.5.1.1.

Open akosialz opened this issue 10 years ago • 2 comments

So I am following this tutorial of yours

https://tomchentw.github.io/react-google-maps/basics/pop-up-window

basically the InfoWindow has this onCloseClick() event for capturing the, as the name of the method implies, close click in InfoWindow. Now when I installed v 4.11.0 and up to v.5.1.1. there's no onCloseClick event but according in your repo, there is.

How should I work on it? I cannot use v.5.1.1. because somehow when passing array of points to Marker class, it produces a "Not an array" error. Any aid would do

akosialz avatar Nov 08 '16 03:11 akosialz

Forgot to comment in here. Found out that onCloseClick event in InfoWindow exists in version 6.0.1. My bad.

akosialz avatar Nov 08 '16 09:11 akosialz

Please refer to Getting Help section in the README (or #469).

tomchentw avatar Apr 20 '17 06:04 tomchentw