paul121 / farm_rei

Adds restricted-entry interval (REI) fields to Input Logs and Materials.
1 stars 0 forks source link

Show restricted areas in areas map #2

Closed mstenta closed 3 years ago

mstenta commented 3 years ago

Add a new layer to the map that shows areas with restricted entry, probably in a color like red so they are easily recognized.

paul121 commented 3 years ago

Using a Views GeoJSON feed, a active_rei map behavior can be used to add a "Restricted areas" layer (with red geometries) to the map. Right now this is added to all "farm_areas" maps, which include the Dashboard and Areas views.

Clicking on these geometries displays a popup with a link to the Area, as well as the start and duration of the REI. A link to the Input log is displayed as well.

rei_demo