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

Fix getPixelFromCoordinate function (close #23) #24

Merged
merged 4 commits into from
Nov 14, 2019

Conversation

fisuda
Copy link
Contributor

@fisuda fisuda commented Nov 9, 2019

Hi @aarranz,
It would be great if you could review this PR.
Thank you.

@coveralls
Copy link

coveralls commented Nov 9, 2019

Coverage Status

Coverage increased (+0.005%) to 99.216% when pulling 1a77cf1 on fisuda:fix/getPixelFromCoordinate into bf3d5c9 on Wirecloud:develop.

@@ -916,6 +916,9 @@

marker_coordinates = ol.extent.getCenter(feature.getGeometry().getExtent());
marker_position = this.map.getPixelFromCoordinate(marker_coordinates);
var view = this.map.getView();
Copy link
Member

Choose a reason for hiding this comment

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

Hi @fisuda.

Thank you very much for your contribution 😄. It LGTM although It'd be great if you can add a comment in this line providing the openlayers/openlayers#4713 link as well as a new entry in the changelog.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @aarranz,

I have just added a comment and updated changelog.md. Please have a look.

Thank you.

@aarranz aarranz merged commit 8032029 into Wirecloud:develop Nov 14, 2019
@aarranz
Copy link
Member

aarranz commented Nov 14, 2019

Thank you very much! Merged 😃

@fisuda fisuda deleted the fix/getPixelFromCoordinate branch November 14, 2019 19:42
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.

3 participants