hack4impact-uiuc / nnb-frontend

Frontend for Neighborhood News Bureau
2 stars 0 forks source link

Map pan zoom #111

Closed alex-wuu closed 6 years ago

alex-wuu commented 6 years ago

Default zoom for each map, decouples zoom and pan spot between maps. This is currently a really bad solution that needs to be improved though.

The react-map-interaction package needs a small edit in order for this to work because it forces child components to start at 100% zoom level regardless of specified min/max zoom levels. The built-in buttons in the package also seem broken, at least on my computer.

Both mouse and touch support should be checked on additional Windows computers.