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

Connecting sidebar and map #404

Open
jfrankl opened this issue Sep 11, 2020 · 1 comment
Open

Connecting sidebar and map #404

jfrankl opened this issue Sep 11, 2020 · 1 comment

Comments

@jfrankl
Copy link
Contributor

jfrankl commented Sep 11, 2020

Currently, the only way to see the connection between a district in the sidebar and the map is the color. On a project with ~20 districts, this will be fine for most users. For users who experience colorblindness, and maps with many more districts, this will not be enough. We should explore other ways to allow users to explore this connection.

1. Tooltip

When a user is looking at a district on the map, they want to know the name of the district. The user can right click on the map to show a special context menu that displays the district they are hovering and a shortcut to start editing that district.
A01
A02

2. Highlight selected district and/or on hover

When the user is looking at a district in their sidebar, they want to quickly figure out which district on the map it corresponds to. The active district (district being edited) should have a thick border to make it stand out from the rest. When the user hovers a district in the sidebar, that district should temporarily receive the same treatment. An overflow menu provides the option to "Zoom to district", further connecting the sidebar to the map.
A04
A05
A06

3. Label

We could generate labels on the map that show the district number. I made a branch that gets this 80% of the way there, but it would need some more time to fully implement, and we'll want a way to toggle it on and off. https://github.com/PublicMapping/districtbuilder/tree/feature/jdf/map-district-number
image

@jfrankl jfrankl mentioned this issue Sep 11, 2020
@tgilcrest
Copy link

tgilcrest commented Sep 11, 2020

(Added numbers to refer to them)

I like 1 and 3 a lot. I'm wary of doing 2 on the main map interface because I think it could be challenging to to get the cartography right with basemaps and zooming. I think 2 could work better on a summary report where it's not interactive and would be more static (and depending on the medium of the report, 1 and 3 may not be possible.)

@jfrankl jfrankl added the design label Sep 18, 2020
@jfrankl jfrankl self-assigned this Sep 21, 2020
@jfrankl jfrankl removed their assignment Jan 5, 2021
@tgilcrest tgilcrest removed the design label Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants