Skip to content
This repository has been archived by the owner on Apr 10, 2018. It is now read-only.

Specify what happens with exponential or interval property function type mismatches #588

Closed
jfirebaugh opened this issue Nov 29, 2016 · 2 comments
Assignees

Comments

@jfirebaugh
Copy link
Contributor

For example, what is the result of evaluating the following function against a feature whose p property value is not numeric?

{
  "property": "p",
  "stops": [
    [0, 0],
    [10, 100]
  ]
}

cc @lucaswoj

@lucaswoj
Copy link

Currently this is undefined behaviour.

If we're looking to define the behaviour in this case, I'd suggest implementing a default value per #480 and using that value in cases like this.

@lucaswoj
Copy link

lucaswoj commented Feb 1, 2017

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

@lucaswoj lucaswoj closed this as completed Feb 1, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants