-
Notifications
You must be signed in to change notification settings - Fork 31
Improve initial election map behavior #596
Comments
First, I don't think this is a necessary pre-launch thing, but if it happens, cool. I think it should show districts at a certain zoom level, and that zoom level should probably be the same as whatever it sets it to when you click on the state. And then yeah, I think if you zoom out beyond that level it should go back to just showing state outlines and also reset the results. |
Thanks @jmcarp for the well organized thoughts! I dig @noahmanger 's proposal, and would also suggest removing the labels for bodies of water, if we can, since they're a bit distracting, and not what we're actually looking at here. (Gulf of Mexico, Hudson Bay, Caribbean Sea above)
This is more style oriented, but if this could be implemented with the consistent styles outlined here pre-launch, #420 (comment) that would be + 💯 |
All sounds good to me! Minor complication re. @noahmanger's point:
There isn't a fixed zoom level for clicking on a state or district--we dynamically zoom to the size of the current overlays, so the zoom level for California is different from the zoom level for Maryland. So we can pick a reasonable zoom level for toggling from state to district overlays, but it won't have exactly the same behavior as the existing auto-zoom behavior. |
Oh ok. That makes sense to me. |
As @noahmanger pointed out in #592, the initial view of the election map shows every district in the continental US and can look pretty cluttered (although it's a little better now that we have thinner district borders):
@noahmanger's proposal:
A few issues to think about:
Thoughts @noahmanger @jenniferthibault @onezerojeremy? Do we want this to happen pre-launch? Shouldn't take a whole lot of time to implement.
The text was updated successfully, but these errors were encountered: