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
text-offset
data-driven cause a warning when click ?
#13164
Comments
may be you can try the key words "literal" in expressionshttps://docs.mapbox.com/style-spec/reference/expressions#types-literal |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mapbox-gl-js version: 3.2.0
Question
i got a warning when i click a label use
text-offset
data-driven:Expected value to be of type array<number, 2>, but found string instead.
i couldn't fix it and console the target feature, find that the
properties.offset
was converted to a stringso is that what caused the warning? and why?
Links to related documentation
The text was updated successfully, but these errors were encountered: