afterCloseInfowindow don't fire after close #137

Closed
rogerburkhard opened this Issue May 10, 2016 · 1 comment

Comments

3 participants
@rogerburkhard

It seems that the events "afterCloseInfowindow" and "beforeCloseInfowindow" don't fire after closing the InfoWindow. Both events fire only when I close the InfoWindow and on reopen the fire. But I need the event to be fired when I close the InfoWindow. Any help is very appreciated.

@douglas-andrew-harley

This comment has been minimized.

Show comment
Hide comment
@douglas-andrew-harley

douglas-andrew-harley May 26, 2016

Contributor

Please note that both beforeCloseInfowindow and afterCloseInfowindow are affected by this incorrect event processing behavior. This issue is rather troublesome, as I cannot find a way to work around it...I am attempting to use afterCloseInfowindow events to reset the map to its original state after closing a marker info window (i.e., to functionally zoom out and re-center).

I have provided a screen recording showing the exact problems here: https://www.youtube.com/watch?v=XpuNFug6gaE

Contributor

douglas-andrew-harley commented May 26, 2016

Please note that both beforeCloseInfowindow and afterCloseInfowindow are affected by this incorrect event processing behavior. This issue is rather troublesome, as I cannot find a way to work around it...I am attempting to use afterCloseInfowindow events to reset the map to its original state after closing a marker info window (i.e., to functionally zoom out and re-center).

I have provided a screen recording showing the exact problems here: https://www.youtube.com/watch?v=XpuNFug6gaE

douglas-andrew-harley added a commit to douglas-andrew-harley/maplace.js that referenced this issue May 27, 2016

danielemoraschi added a commit that referenced this issue Mar 26, 2017

[fix] issue #137 - beforeCloseInfowindow and afterCloseInfowindow not…
… fired; all event functions now scoped to the current Maplace instance object
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment