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

Make map projection ready-only #1775

Merged
merged 11 commits into from
Jun 3, 2014
Merged

Make map projection ready-only #1775

merged 11 commits into from
Jun 3, 2014

Conversation

pjcozzi
Copy link
Contributor

@pjcozzi pjcozzi commented Jun 2, 2014

For #901.

This also cleans up camera creation in several tests.

@bagnell can you review and also look at the test failures for ScreenSpaceCameraController? I looked into them a bit and for Scene/ScreenSpaceCameraController does not tilt in the wrong direction, Line 1210 in Camera.js turns camera.position from (-1, 0, 0) to (0, 0, 0), which is the problem.

var oldTransform = appendTransform(camera, transform);

@@ -41,8 +41,11 @@ define([
defineProperties(WebMercatorProjection.prototype, {
/**
* Gets the {@link Ellipsoid}.
* @memberof WebMercatorProjection.prototype
*
* @memberof GeographicProjection.prototype
Copy link
Contributor

Choose a reason for hiding this comment

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

Should be WebMercatorProjection.prototype.

bagnell added a commit that referenced this pull request Jun 3, 2014
@bagnell bagnell merged commit a574603 into master Jun 3, 2014
@bagnell bagnell deleted the projection branch June 3, 2014 21:10
@pjcozzi pjcozzi mentioned this pull request Jun 5, 2014
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