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

Incorrect positioning of po.compass() zoom control #42

Open
jasondavies opened this issue Dec 14, 2010 · 5 comments
Open

Incorrect positioning of po.compass() zoom control #42

jasondavies opened this issue Dec 14, 2010 · 5 comments
Labels

Comments

@jasondavies
Copy link
Contributor

For both .zoom('small') and .zoom('big'), the zoom control appears on top of the pan control. For .zoom('big'), it flows off the map.

I don't think this is a CSS issue as the controls are positioned using SVG transforms. However, if it is a CSS issue, example.css should be updated so that the zoom control is placed correctly.

@grayb
Copy link

grayb commented Jan 14, 2011

I'm having this same issue. Did you find a way to position them correctly?

@jasondavies
Copy link
Contributor Author

Not yet, no.

@mbostock
Copy link
Contributor

Oops, yes, I broke that when I added support for shift-dragging.

@mbostock
Copy link
Contributor

Fix is here, if you'd like to test it:

mbostock@7c33ade

@jasondavies
Copy link
Contributor Author

Thanks! Positioning is fixed but there is a bug with zoom ticks not highlighting for fractional zooms. Fix here: jasondavies/polymaps@3587b87

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants