Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Make viewerEntityMixin part of Viewer proper #2325

Merged
merged 7 commits into from
Dec 20, 2014
Merged

Conversation

mramato
Copy link
Contributor

@mramato mramato commented Dec 15, 2014

As discussed in #2315, and part of the larger effort to make data source and entities the de facto top-level API for Cesium, this change deprecates viewerEntityMixin (making it a noop) and folds all of the existing functionality into Viewer itself.

Since it's no longer a mixin, the implementation changed significantly to avoid the abuse of closures and function creation. The end result is a lot cleaner, in my opinion. Rather than try to diff Viewer.js, I would review the file whole-hog as if it were new.

@pjcozzi
Copy link
Contributor

pjcozzi commented Dec 17, 2014

@kring or @shunter do you want to look at this?

@pjcozzi
Copy link
Contributor

pjcozzi commented Dec 19, 2014

@kring or @shunter any interest in this?

@kring
Copy link
Member

kring commented Dec 19, 2014

Sure, I'll review it soon.

mramato and others added 2 commits December 19, 2014 18:32
@kring
Copy link
Member

kring commented Dec 20, 2014

WMS picking was completely broken, but I fixed that up and this looks good otherwise. Merging.

kring added a commit that referenced this pull request Dec 20, 2014
…yMixin

Make viewerEntityMixin part of Viewer proper
@kring kring merged commit 90aafab into master Dec 20, 2014
@kring kring deleted the merge-viewerEntityMixin branch December 20, 2014 01:11
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants