Skip to content

Conversation

rvlasveld
Copy link

Add the method hasLayer to L.LayerGroup. Return false if layer is not present of checking for null value. Respons to #1282

Roemer Vlasveld added 2 commits January 21, 2013 22:36
Add the method hasLayer to LayerGroup, return false when not present or checking for a null layer.
mourner added a commit that referenced this pull request Jan 21, 2013
@mourner mourner merged commit 140cace into Leaflet:master Jan 21, 2013
@rvlasveld rvlasveld deleted the add_hasLayer_to_layerGroup branch January 21, 2013 22:30
@rvlasveld
Copy link
Author

Question; what is the correct way to update the documentation according to this method that is added to the class? Just plain in reference.html of the gh-pages branch?

@mourner
Copy link
Member

mourner commented Jan 22, 2013

As it was added for the master branch, it's better to send the pull to gh-pages-master branch — gh-pages should only reflect the stable version.

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