My hacky solution here is to just give every answer the same color if we're searching for a key-value pair.
A more real solution would be to find the color, then generate a stylesheet that just gives every parcel that color -- no comparison test involved. That would also speed rendering, too, since we can skip a comparison step to associate a color with a k-v pair.
The best solution would accept, via GET parameter, a color for every key-value pair, so that we can specify colors on the dashboard.
This has been bugging me for a long time.
My hacky solution here is to just give every answer the same color if we're searching for a key-value pair.
A more real solution would be to find the color, then generate a stylesheet that just gives every parcel that color -- no comparison test involved. That would also speed rendering, too, since we can skip a comparison step to associate a color with a k-v pair.
The best solution would accept, via GET parameter, a color for every key-value pair, so that we can specify colors on the dashboard.