mapbox / mapbox-gl-style-spec

76 stars 38 forks source link

Specify what happens when an identity function evaluates to the wrong type #602

Closed jfirebaugh closed 7 years ago

jfirebaugh commented 7 years ago
    {
      "id": "fill",
      "type": "fill",
      "source": "source",
      "source-layer": "layer",
      "paint": {
        "fill-opacity": {
          "property": "p",
          "type": "identity"
        }
      }
    }

What happens if there's a feature whose "p" property value isn't a number?

lucaswoj commented 7 years ago

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