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

Miscellaneous ol.FeatureOverlay cleanup #2018

Merged
merged 4 commits into from Apr 28, 2014

Conversation

fredj
Copy link
Member

@fredj fredj commented Apr 28, 2014

No description provided.

this.featureChangeListenerKeys_[goog.getUid(feature).toString()] =
goog.events.listen(feature, goog.events.EventType.CHANGE,
this.handleFeatureChange_, false, this);
}
}, this);
Copy link
Member

Choose a reason for hiding this comment

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

This was a real bug right?

Copy link
Member Author

Choose a reason for hiding this comment

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

Not a bug because this was not unsed inside the function.

Copy link
Member Author

Choose a reason for hiding this comment

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

Sorry, bad answer.

No, it was not a bug but forEach is (IMHO) much more simpler.

Copy link
Member

Choose a reason for hiding this comment

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

Ok got it.

@elemoine
Copy link
Member

LGTM.

@fredj
Copy link
Member Author

fredj commented Apr 28, 2014

Thanks for the review

fredj added a commit that referenced this pull request Apr 28, 2014
Miscellaneous ol.FeatureOverlay cleanup
@fredj fredj merged commit 1f3f1e1 into openlayers:master Apr 28, 2014
@fredj fredj deleted the featureoverlay-cleanup branch April 28, 2014 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.

None yet

2 participants