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

Improved zoomToShowLayer with callback check #572

Merged
merged 1 commit into from
Oct 12, 2015
Merged

Conversation

ghybs
Copy link
Contributor

@ghybs ghybs commented Oct 9, 2015

Following issue #503, slightly improved zoomToShowLayer to check that a proper callback function is passed. Also slightly simplified the event binding on parent.spiderfy() (using directly this.once instead of manually unbinding it).

Following issue Leaflet#503, slightly improved `zoomToShowLayer` to check that a proper callback function is passed. Also slightly simplified the event binding on `parent.spiderfy()` (using directly `this.once` instead of manually unbinding it).
danzel added a commit that referenced this pull request Oct 12, 2015
Improved zoomToShowLayer with callback check
@danzel danzel merged commit 5b4dc71 into Leaflet:master Oct 12, 2015
@danzel
Copy link
Member

danzel commented Oct 12, 2015

Looks good.

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