ua-snap / alaska-wildfires

MIT License
0 stars 0 forks source link

Adds an Alaska land mask GeoJSON to prevent clicking outside of the state of Alaska for lat / lon based queries #72

Closed BobTorgerson closed 5 months ago

BobTorgerson commented 5 months ago

This PR adds a GeoJSON of the state of Alaska that holds the mouse click functionality for querying the fire API. This does require that the Shift key be pressed to query a lat / lon as it rebased from another PR to ensure that the functionality built here doesn't conflict with those changes.

To test, ensure that when you go beyond the state of Alaska into the ocean or Canada, you can't shift click any of the areas. Try Shift clicking in multiple places in Alaska to ensure that you are seeing good results and that the cursor icon changes between the grab icon and the pointer icon.