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

GoogleMaps addEventListener dose not work #999

Closed
ziggyJ opened this issue Jan 24, 2017 · 1 comment
Closed

GoogleMaps addEventListener dose not work #999

ziggyJ opened this issue Jan 24, 2017 · 1 comment

Comments

@ziggyJ
Copy link
Contributor

ziggyJ commented Jan 24, 2017

It throws a lot of TypeError: evt.toLowerCase is not a function. (In 'evt.toLowerCase()', 'evt.toLowerCase' is undefined)

I check the code, it seems in the recent change in the googlemap.ts, a lot of addEventListener functions were added. But instead of using
this._objectInstance.addEventListener(event, observer.next.bind(observer));
, it should use
this._objectInstance.addEventListener(eventName, observer.next.bind(observer));

@ihadeed
Copy link
Collaborator

ihadeed commented Jan 24, 2017

Fixed in 2.4.0. Thanks for pointing it out.

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

2 participants