Conditional map icons

I have a map of locations. The data used to display the map has a field called last_visited_date.
Currently I use a backed workflow that updates the dynamic icons stored in each items thing based on how many days since the last visit when the page is loaded.

Default Green
Yellow>8 days
Orange >14 days
Red > 20 days

I also have a workflow that changes the color (purple) when I select a location and add it to a state of an element list.
When I remove it from a state of a element list I return it to is original color using that flow from before on that 1 item

I need to do this a different way it’s eating up my work units and it’s kinda buggy.

Is there a way to use stored last_day_visited in a equation (current date/time - last_date_visited:formatted as Days) to get a conditional color on the map with a plugin or on a custom google map using JS

This topic was automatically closed after 70 days. New replies are no longer allowed.