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

"You can use camera expressions anywhere an expression may be used." is incorrect and meaningless. #12748

Open
stevage opened this issue Jun 9, 2023 · 1 comment

Comments

@stevage
Copy link
Contributor

stevage commented Jun 9, 2023

In the docs, it says:

You can use camera expressions anywhere an expression may be used. When you use a camera expression as the value of a layout or paint property, it must be in one of the following forms:
...
That is, in layout or paint properties, ["zoom"] may appear only as the input to an outer interpolate or step expression, or such an expression within a let expression.

The first sentence basically doesn't mean anything that is true. The second sentence so drastically qualifies it as to make it essentially meaningless. IMHO it should be removed.

It would be more straightforward and correct to remove both the first two sentences and simply write:

In layout or paint properties, ["zoom"] may appear only as the input to an outer interpolate or step expression, or such an expression within a let expression.

@pratik9315
Copy link

Hey there! Can I work on this issue if its still available?

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

No branches or pull requests

3 participants