Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with setStyle #2

Open
frodrigo opened this issue Apr 19, 2020 · 0 comments
Open

Error with setStyle #2

frodrigo opened this issue Apr 19, 2020 · 0 comments

Comments

@frodrigo
Copy link

openmaptiles-language provide an invalid style to setStyle(). Propably linked with mapbox gl expression

Error: "layers[151].filter[4][1][0]: expected one of [==, !=, >, >=, <, <=, in, !in, all, any, none, has, !has], "!" found"
    Un validate_style.js:37
    Be style.js:46
    setState style.js:482
    _updateDiff map.js:1302
    _diffStyle map.js:1296
    setStyle map.js:1235
    setStyle openmaptiles-language.js:59
    setLanguage openmaptiles-language.js:137
    setStyle openmaptiles-language.js:67
    fire evented.js:125
    r map.js:464
    fire evented.js:119
    fire evented.js:134
    _load style.js:280
    _request style.js:225
    l ajax.js:165
evented.js:140:20
Error: "layers[151].filter[4][2][1]: string expected, array found"
    Un validate_style.js:37
    Be style.js:46
    setState style.js:482
    _updateDiff map.js:1302
    _diffStyle map.js:1296
    setStyle map.js:1235
    setStyle openmaptiles-language.js:59
    setLanguage openmaptiles-language.js:137
    setStyle openmaptiles-language.js:67
    fire evented.js:125
    r map.js:464
    fire evented.js:119
    fire evented.js:134
    _load style.js:280
    _request style.js:225
    l ajax.js:165

From here https://bl.ocks.org/frodrigo/cb4db4446962e2a4be111ece3b154e02

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant