JRHutson / Food-Resource-Map

Map of Food Pantries supported by the LA Regional Food Bank
http://jrhutson.github.io/Food-Resource-Map/
3 stars 4 forks source link

Closing Time. #57

Open JRHutson opened 8 years ago

JRHutson commented 8 years ago

Currently the marker will show green if there is a distribution at any point during the current day. Look at replacing the "True" in the attribute table with the closing hour so that a function can determine if the distribution has already passed and switch it to grey.

jgravois commented 8 years ago

I'd recommend keeping track of hours of operation in an entirely separate attribute column

JRHutson commented 8 years ago

@jgravois The challenge I see with that is that some of them have hours that differ between the days they distribute. The schedule displayed in the pop-up is already in a separate attribute field but it is not in a consistent format. I was looking for a simple way to avoid confusion but now I'm thinking it could be worth having opening and closing hours. It could end up with a three color symbology that communicates "Open", "Open Soon" and "Future Resource" with Green, Yellow and Grey markers. Not sure of the best way to structure the backend for this though.

jgravois commented 8 years ago

simplicity is king. maybe you can just check the browser time and create some sort of exclamation to remind people to check hours themselves if its already into the afternoon/evening.