Skip to content

SetCenter with lat, long does not bind listeners #10

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

Open
dedalo opened this issue Jan 5, 2012 · 0 comments
Open

SetCenter with lat, long does not bind listeners #10

dedalo opened this issue Jan 5, 2012 · 0 comments

Comments

@dedalo
Copy link

dedalo commented Jan 5, 2012

If you use setCenter with geoCodeAddr, the call to addMarker is

this.geoCodeLookup(this.setCenter.geoCodeAddr, this.setCenter.marker, false, true, this.setCenter.listeners);

but if you use lat and long

this.addMarker(point, this.setCenter.marker, this.setCenter.marker.clear); not passing the listeners...

that call should be:

this.addMarker(point, this.setCenter.marker, this.setCenter.marker.clear, true, this.setCenter.listeners);

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

1 participant