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

Parallel projection and discrete zoom #421

Merged
merged 14 commits into from
Jul 29, 2015
Merged

Parallel projection and discrete zoom #421

merged 14 commits into from
Jul 29, 2015

Conversation

manthey
Copy link
Contributor

@manthey manthey commented Jul 23, 2015

Added parallel projection and discrete zoom.

Zoom levels are now consistent with other mapping libraries and are no longer based on the window size. As such, the zoom level is DIFFERENT from what it was, unless the window was exactly one standard map tile high (256 pixels).

Pass some configuration into the renderers.

Update tests to have better window resizing and to compensate for changes in zoom definition. This breaks all of the screen shot tests.

Clustering needs to know the size of the layer so that the scale can be appropriate, as the scale is now fixed to the zoom level rather than a combination of zoom level and window size.

Add jasmine test for discrete zoom and parallel projection. Add selenium test for parallel projection.

Add a little bit of documentation to the map class.

Added parallel projection.

Added discrete zoom.

Pass some configuration into the renderers.
…nges in zoom definition.

Clustering needs to know the size of the layer so that the scale can be appropriate, as the scale is now fixed to the zoom level rather than a combination of zoom level and window size.
Add selenium test for parallel projection.

Add a little bit of documentation to the map class.
@aashish24
Copy link
Member

👏

@jbeezley
Copy link
Contributor

Yay!

I restarted the buildbot build. I have seen a couple of errors related to downloads from midas failing the last couple of days. I think it just some local network issues, hopefully they don't persist.

@aashish24
Copy link
Member

I am reviewing the VGL branch first and then will get back to this one.

@jeffbaumes
Copy link
Contributor

I feel like I will need to get 5 or 6 demos of what's new in GeoJS when I get back in town. Great work @manthey @jbeezley @aashish24 @danlamanna! 🎉

* autoResize:
* clampBounds:
* interactor:
* clock:
Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, we should start documenting class options like this.

@@ -1,4 +1,6 @@
/build/*
/_build/*
/Testing/*
Copy link
Contributor

Choose a reason for hiding this comment

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

My filesystem isn't case sensitive, so this ignores all files under testing. :(

@aashish24
Copy link
Member

@jbeezley I didn't have any major questions here. Feel free to merge it if it looks good to you.

@aashish24
Copy link
Member

@manthey Great stuff.. 👏

@jbeezley
Copy link
Contributor

As you noted, the discrete zoom feature doesn't work well with touch events, but we can treat it as an experimental feature and open a separate issue for it.

LGTM
Ship it!

manthey added a commit that referenced this pull request Jul 29, 2015
Parallel projection and discrete zoom
@manthey manthey merged commit bc4a59d into master Jul 29, 2015
@manthey
Copy link
Contributor Author

manthey commented Jul 29, 2015

Thanks, @jbeezley for dealing with the Selenium tests.

@manthey manthey deleted the parallel-projection branch July 29, 2015 12:27
@jbeezley
Copy link
Contributor

Penance for designing them.

@aashish24
Copy link
Member

@jbeezley nice approval image! .... 👍

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.

4 participants