We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
cartocss = "{ line-color: #7B00B4; line-width: 1; line-opacity: 0.7; line-dasharray: 4,2; }"; shader = new carto.RendererJS().render(cartocss), style = shader.layers[0].getStyle({ property: 1 }, { zoom: zoom }); console.log({shader, style});
Value returned for the dasharray is just 4 instead of 4,2. Am I missing something?
4
4,2
Also, in the example on the homepage, the getStyle method takes the first argument { property: 1 } what does that mean?
{ property: 1 }
Thanks
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Value returned for the dasharray is just
4
instead of4,2
. Am I missing something?Also, in the example on the homepage, the getStyle method takes the first argument
{ property: 1 }
what does that mean?Thanks
The text was updated successfully, but these errors were encountered: