healthyregions / oeps

Opioid Environment Policy Scan - data explorer and backend management
https://oeps.healthyregions.org
GNU General Public License v3.0
1 stars 0 forks source link

Add bbox to features #27

Closed mradamcox closed 2 months ago

mradamcox commented 8 months ago

Specing out the map behavior, it would be nice to be able to zoom to features on click. Because of how the they are tiled, this kind of behavior can be unpredictable when a feature is split across multiple tiles, when the zoom extent is driven only by the geometry of the feature itself.

The data pipeline should be augmented to add bbox coordinates as feature attributes. A single attribute would be best (to keep the tiles small), and hopefully only 3 decimals places will be good enough.

mradamcox commented 2 months ago

I'm 90% sure I've done this, will check can confirm while completing #34.