-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Fixed imagery providers whose rectangle crosses the IDL. #2313
Conversation
…ersection and Rectangle.contains to work across the IDL.
…tly for rectangles crossing the IDL. Replace all instances of east - west because it assumes east > west.
@@ -460,7 +521,7 @@ define([ | |||
* @param {Rectangle} rectangle On rectangle to find an intersection | |||
* @param {Rectangle} otherRectangle Another rectangle to find an intersection | |||
* @param {Rectangle} [result] The object onto which to store the result. | |||
* @returns {Rectangle} The modified result parameter or a new Rectangle instance if none was provided. | |||
* @returns {Rectangle|undefined} The modified result parameter, a new Rectangle instance if none was provided or undefined if there is no intersection. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically a breaking change, but I don't think it is an issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, actually we should deprecate this (one release before removal is fine) and replace it with a function with a new name.
Code in #2195 looks good in Sandcastle now. There's one test failure: |
Looks good otherwise. |
@pjcozzi This is ready for another look. |
Looks good. |
Fixed imagery providers whose rectangle crosses the IDL.
For #2195.