Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with listem events #345

Open
misaku opened this issue May 17, 2019 · 5 comments
Open

problem with listem events #345

misaku opened this issue May 17, 2019 · 5 comments

Comments

@misaku
Copy link

misaku commented May 17, 2019

i try to use map.addListener or onZoomChangedan onCenterChanged
and i cant.

@iamrenzx
Copy link

also having the same problem event not firing for onZoomChanged

@misaku
Copy link
Author

misaku commented May 17, 2019

I found the bug, i will change and subimit to fix

misaku added a commit to misaku/google-maps-react that referenced this issue May 17, 2019
i have a problen listen onZoomChanged, i saw this function cant camelize when i have _ is only " ", i fix to solve the problem.
[fullstackreact#345](fullstackreact#345)
@trevans24
Copy link

What is the status of this fix? I am trying to use the same onZoomChanged function and can't get it to work as well. Is there something that can be done now or to hack the node_modules folder in the meantime?

@spiri91
Copy link

spiri91 commented Sep 20, 2019

i don't think there will be a fix, better hack that node_modules folder

@spiri91
Copy link

spiri91 commented Sep 21, 2019

@trevans24 onCenter_changed={props.onCenterChangedEvent} onZoom_changed={props.onZoomChangedEvent} these are the correct name events, the called function will receive 3 arguments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants