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

Mouse up/move events #2408

Merged
merged 5 commits into from
Jan 19, 2015
Merged

Mouse up/move events #2408

merged 5 commits into from
Jan 19, 2015

Conversation

bagnell
Copy link
Contributor

@bagnell bagnell commented Jan 19, 2015

Deprecates logic in ScreenSpaceEventHandler to add mouse/pointer/touch move and up event listeners to the document instead of the given element. Adds it to CameraEventAggregator.

@@ -14,6 +14,7 @@ Change Log
* `Camera.setPositionCartographic` was deprecated in Cesium 1.6. It will be removed in Cesium 1.7. Use `Camera.setView`.
* `PolygonGraphics.positions` was deprecated and replaced with `PolygonGraphics.hierarchy`, whose value is a `PolygonHierarchy` instead of an array of positions. `PolygonGraphics.positions` will be removed in Cesium 1.8.
* The `Model.readyToRender` event was deprecated and will be removed in Cesium 1.9. Use the new `Model.readyPromise` instead.
* The `mouseMoveOnDocument` parameter to the `ScreenSpaceEventHandler` constructor was deprecated in Cesium 1.6. It will be removed in Cesium 1.7. `ScreenSpaceEventHandler` will be constructed as if `mouseMoveOnDocument` is `false`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Submit an issue for this.

Copy link
Contributor

Choose a reason for hiding this comment

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

Also, is there anything else we want to say in CHANGE.md?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not that I can think of. Did you have something in mind?

@pjcozzi
Copy link
Contributor

pjcozzi commented Jan 19, 2015

Doesn't this reintroduce the Sandcastle issue where the globe stops spinning when the mouse moves outside the canvas (as opposed to when Cesium takes up the entire document)?

@bagnell
Copy link
Contributor Author

bagnell commented Jan 19, 2015

That has always been the case. You can try it in the Sandcastle in master. I thought we had an issue for it, but I couldn't find it.

@pjcozzi
Copy link
Contributor

pjcozzi commented Jan 19, 2015

Yes, indeed.

pjcozzi added a commit that referenced this pull request Jan 19, 2015
@pjcozzi pjcozzi merged commit 5768935 into master Jan 19, 2015
@pjcozzi pjcozzi deleted the mouse-move branch January 19, 2015 21:55
bagnell added a commit that referenced this pull request Jan 29, 2015
…entHandler to listen on the document for pointer up and move events.
@bagnell bagnell mentioned this pull request Jan 29, 2015
bagnell added a commit that referenced this pull request Jan 29, 2015
…entHandler to listen on the document for pointer up and move events.
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.

2 participants