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

DragBoxInteraction: getGeometry return type can be ol.geom.Polygon ? #2745

Merged
merged 1 commit into from
Sep 24, 2014
Merged

DragBoxInteraction: getGeometry return type can be ol.geom.Polygon ? #2745

merged 1 commit into from
Sep 24, 2014

Conversation

bartvde
Copy link
Member

@bartvde bartvde commented Sep 24, 2014

since this.box_ is ol.render.Box which has ol.geom.Polygon, getGeometry on the DragBoxInteraction can be more specific, so ol.geom.Polygon instead of ol.geom.Geometry

This will also make it easier for people doing a custom build to export the right things.

@fredj
Copy link
Member

fredj commented Sep 24, 2014

+1

@bartvde
Copy link
Member Author

bartvde commented Sep 24, 2014

will attach PR here

@fredj
Copy link
Member

fredj commented Sep 24, 2014

LGTM

bartvde added a commit that referenced this pull request Sep 24, 2014
DragBox Interaction: getGeometry return type can be ol.geom.Polygon (r=@fredj)
@bartvde bartvde merged commit 1f5ca28 into openlayers:master Sep 24, 2014
@bartvde bartvde deleted the issue-2745 branch September 24, 2014 10:46
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