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

OnCameraChangeListener available outside the library #22

Open
Mephistofeles opened this issue Aug 25, 2013 · 3 comments
Open

OnCameraChangeListener available outside the library #22

Mephistofeles opened this issue Aug 25, 2013 · 3 comments

Comments

@Mephistofeles
Copy link

I need to set OnCameraChangeListener on map, which is currently impossible without changing the library internals.
You should make it available to set a custom listener in Options.

@carltonwhitehead
Copy link
Contributor

I like this idea. Feel free to implement this on a branch and submit a pull request. I'm scheduled to work on another project for a while, otherwise I would go ahead and do it. It should be fairly simple to add an OnCameraChangeListener to the Options object, and add a call back to it from Clusterkraf's internal OnCameraChangeListener

@preslavrachev
Copy link

I am also in a need to have my own onCameraChange listener. I think, it is a limitation of the Maps library itself, to not allow for multiple event listeners.

@carltonwhitehead: please, let me know when you add this to the Master. For the time being, I'd probably extend the MapFragment, proxyfying its Map object, to allow for multiple event listeners.

@nealsanche
Copy link

I ran into this limitation as well, yesterday, so I will have a look at adding this listener as described @carltonwhitehead.

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