CodeWithAloha / Hawaii-Zoning-Atlas

Interactive map showing how outdated zoning laws make it hard to build diverse, affordable housing in Hawaii.
https://hawaiizoningatlas.com
MIT License
22 stars 11 forks source link

💡 [REQUEST] - Split up data by island instead of showing all at once #106

Open MichaelTamaki opened 1 year ago

MichaelTamaki commented 1 year ago

Start Date

No response

Implementation PR

No response

Reference Issues

No response

Summary

Currently, the project is loading all data for all islands at once. And it will draw all overlays all the time. This is a big performance burden, especially since the typical use case is to only show one island at a time.

Idea:

Screenshot 2023-09-11 at 6 55 59 PM

This is mean to be very primitive. Lazy loading would be cool but would be tough. This should be a relatively straight forward way to get a performance increase. This might even be a better UX. For example, when an island is selected, it can automatically center and zoom in the map on that island.

Basic Example

See summary.

Drawbacks

Unresolved questions

No response

ggordn3r commented 1 year ago

To start with, let's go with the UI idea, hyperlinks for each county that "jump" to center that county at the appropriate zoom level.