voteview / WebVoteView

Webbased rollcall vote visualization software
MIT License
35 stars 4 forks source link

Eliminate scroll bars on map #257

Open adamboche opened 7 years ago

adamboche commented 7 years ago

When zooming in on the map, it would be better to let users drag with a hand tool instead of scroll bars

aaronrudkin commented 6 years ago

We originally had this. Because we allow users to specifically select districts on the map, this ends up sort of overloading click interactions, where it's ambiguous as to whether the users is trying to select or scroll. I agree the scrollbars are not ideal, but they may be an ideal compromise given this requirement.

adamboche commented 6 years ago

I've seen some websites using ctrl+scroll to zoom the map, which I thought worked pretty well. For example: https://www.embedgooglemap.net/ We could extend this logic to ctrl-click for dragging and see how it feels.