mapbox / mapbox-gl-style-spec

76 stars 38 forks source link

Specify what happens when evaluating a categorical function input that's not in the domain #582

Closed jfirebaugh closed 7 years ago

jfirebaugh commented 7 years ago

E.g. what does {"type": "categorical", "property": "p", "stops": [["foo", 0]]} evaluate to for the property value "bar"?

davidtheclark commented 7 years ago

I think this issue and #480 are vital for making categorical functions seem "usable". I'm not sure I'd feel very comfortable shipping a public DDS UI in Studio without them. (cc @mapbox/appbox)

lucaswoj commented 7 years ago

This issue was moved to mapbox/mapbox-gl-js#4144