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

Delegate transformation in ol.source.FormatVector#readFeatures to ol.format.* #2662

Merged
merged 1 commit into from
Sep 1, 2014

Conversation

eriktim
Copy link
Contributor

@eriktim eriktim commented Aug 30, 2014

This fixes #2604.

}
}
return features;
return format.readFeatures(source, { featureProjection: projection });
Copy link
Member

Choose a reason for hiding this comment

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

Minor but I don't think we use a space after { and before {. Do the linters complain w/o the spaces?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No they don't, it's just a personal preference. I'll push an updated commit.

Copy link
Member

Choose a reason for hiding this comment

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

We could switch to jscs instead of jshint to enforce this preference.

@elemoine
Copy link
Member

I added a.minor comment. Otherwise looks good to me.

@elemoine
Copy link
Member

elemoine commented Sep 1, 2014

Thanks.

elemoine pushed a commit that referenced this pull request Sep 1, 2014
Delegate transformation in ol.source.FormatVector#readFeatures to `ol.format.*`
@elemoine elemoine merged commit bcf5421 into openlayers:master Sep 1, 2014
@eriktim eriktim deleted the delegate-transformation branch September 3, 2014 18:27
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.

ol.source.FormatVector#readFeatures should delegate the transformation operation
3 participants