You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But if I replace style: [circleStyle, iconStyle] with either circleStyle or iconStyle, the style is applied successfully.
Also, if I combine iconStyle and circleStyle in that order into one object, only the icon styling is applied. But if the order is reversed (icon style properties first, then circle properties), then I get an error like the following for each circle property: ERROR: Expected "}" but found "'circle-stroke-width'"
Expected behavior
The documentation for Flat Styles says "types ... can be composed into a single object", and I assume a combination of styles can be applied to a typical VectorLayor. So isn't the same possible for a WebGLPointsLayer?
The text was updated successfully, but these errors were encountered:
I cannot apply multiple styles to a WebGLPointsLayer, such as a circle shape and icon image, which should appear together for each Point feature.
To Reproduce
For example, if I use the following code:
I get this error:
But if I replace
style: [circleStyle, iconStyle]
with eithercircleStyle
oriconStyle
, the style is applied successfully.Also, if I combine
iconStyle
andcircleStyle
in that order into one object, only the icon styling is applied. But if the order is reversed (icon style properties first, then circle properties), then I get an error like the following for each circle property:ERROR: Expected "}" but found "'circle-stroke-width'"
Expected behavior
The documentation for Flat Styles says "types ... can be composed into a single object", and I assume a combination of styles can be applied to a typical VectorLayor. So isn't the same possible for a WebGLPointsLayer?
The text was updated successfully, but these errors were encountered: