Skip to content

Conversation

kirkedev
Copy link
Contributor

@kirkedev kirkedev commented May 4, 2013

Extend #1642 to include FeatureGroups and lookup by id.

@@ -88,8 +88,11 @@ L.LayerGroup = L.Class.extend({
return this;
},

getLayers: function () {
getLayers: function (id) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be clearer for an API to have a separate getLayer method.

@kirkedev
Copy link
Contributor Author

kirkedev commented May 4, 2013

Updated with separate method for getLayer

mourner added a commit that referenced this pull request May 4, 2013
Extend #1642 to include FeatureGroups and lookup by id.
@mourner mourner merged commit f9cd3b5 into Leaflet:master May 4, 2013
@mourner
Copy link
Member

mourner commented May 4, 2013

Looks good, thanks!

@kirkedev kirkedev deleted the layers-by-id branch May 4, 2013 21:49
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