LocalData / localdata-tiles

A tileserver for LocalData
5 stars 2 forks source link

Fix a problem where filtered answers might have the wrong color #125

Closed hampelm closed 9 years ago

hampelm commented 9 years ago

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.