asascience / ott-coops

Project Tracking for OTT Co-Ops
1 stars 0 forks source link

Show warning when a user tries to create a Traffic Light layer from layers that don't overlap spatially #484

Closed mpiannucci closed 2 years ago

mpiannucci commented 2 years ago

Traffic light layers composed of layers that do not have overlapping bounding boxes will always show as no data (grey or transparent). Show the user a warning message when this scenario is selected

ndellicarpini commented 2 years ago

Should I also do this for no shared time extents? I already get the extents when a rule is selected so I could add the warning (right now it just requests the traffic layer at the current map time if there are no shared times, which I've never seen return anything but a blank layer).

Also should this be an error (blocks user from saving the layer) or a warning (notification)?

jamesdoyle21 commented 2 years ago

Seems like the red text warning message is what we want for both imo