You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<Circlecenter={[51.51,-0.06]}onpopupopen={()=>{this.setState({circleClicks: this.state.circleClicks+1})}}radius={400}><Popup><span>{`Popup in Circle, clicks: ${this.state.circleClicks}`}</span></Popup></Circle>
the onpopupopen event handler is not called, it only works with a Marker layer.
The fix #112 sets the second argument of the popup constructor to the popupContainer and makes it works.
Thanks.
The text was updated successfully, but these errors were encountered:
Hi,
in a layer like this
the onpopupopen event handler is not called, it only works with a Marker layer.
The fix #112 sets the second argument of the popup constructor to the popupContainer and makes it works.
Thanks.
The text was updated successfully, but these errors were encountered: