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

Correct/improve dragbox docs #2204

Merged
merged 1 commit into from Jul 8, 2014
Merged

Correct/improve dragbox docs #2204

merged 1 commit into from Jul 8, 2014

Conversation

probins
Copy link
Contributor

@probins probins commented Jun 15, 2014

docs only, no logic change.

Was going to include a reference to the box-selection example #1959, but that hasn't been merged yet :-)

* for zooming to a specific area of the map
* (see {@link ol.interaction.DragZoom} and
* {@link ol.interaction.DragRotateAndZoom}), or for selecting specific
* features.
Copy link
Member

Choose a reason for hiding this comment

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

Do we really use the dragboxinteraction to select specific features (yet)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

maybe not, but I think the point is that dragbox can be used for things other than zooming. I can take out that comment if you like (and try and remember to put it back when the selection example is merged)

Copy link
Member

Choose a reason for hiding this comment

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

Yes, I would do that as well.

@pagameba pagameba added the doc label Jun 16, 2014
* A conditional modifier (i.e. Shift key) that determines if the interaction is
* active or not, default is shify key.
* A conditional modifier (such as the Shift key) that determines if the
* interaction is active or not; default is shift key.
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 we should we be capitalizing Shift consistently.

@probins
Copy link
Contributor Author

probins commented Jun 20, 2014

I agree with #2204 (comment) that the current description for 'condition' needs changing. However, this is not specific to dragbox; all the condition options say the same thing. The same applies to the comments on consistent shift/Shift.

I've removed changes to olx.js from this PR and will submit another PR to change all condition option descriptions.

@elemoine
Copy link
Member

Makes sense. Thanks Peter.

@pagameba
Copy link
Member

Agreed. This looks good to me.

pagameba added a commit that referenced this pull request Jul 8, 2014
Correct/improve dragbox docs
@pagameba pagameba merged commit befcc4c into openlayers:master Jul 8, 2014
@pagameba
Copy link
Member

pagameba commented Jul 8, 2014

We can address consistency of shift etc in another PR if needed.

@probins
Copy link
Contributor Author

probins commented Jul 9, 2014

@pagameba this should have been addressed with #2230

@probins probins deleted the dragbox branch July 9, 2014 07:39
@pagameba
Copy link
Member

pagameba commented Jul 9, 2014

right, overlooked that - thanks.

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

4 participants