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

Added onZoom event #5

Merged
merged 1 commit into from
May 19, 2016
Merged

Conversation

fredludlow
Copy link

I've added an onZoom method and event, it works much the same as the onFeatureSelected method in that you supply a callback that receives an event object. The Event object has a detail attribute with start, end and zoom attributes.

(This allows me to maintain the zoom level when tearing-down and re-instantiating the FeatureViewer - for example to toggle features on/off).

@MatSchaeff
Copy link
Contributor

Perfect, this can be really useful. 👍
Thank you !

@MatSchaeff MatSchaeff merged commit bcad198 into calipho-sib:master May 19, 2016
@fredludlow fredludlow deleted the zoom-event branch May 20, 2016 13:24
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

Successfully merging this pull request may close these issues.

2 participants