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
{{ message }}
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
This is an issue downstream in the annotation plugin for Android. In this plugin we use DDS in combination with a high level annotations API to make it easy for users to draw symbols, fills, lines and circles on a map.
I'm currently hitting an issue that I can't show both normal lines as lines with a pattern at the same time. This stems from how core handles empty/null values for the line-pattern property. For normal lines, we don't have a line-pattern value and for those cases we will pass a null value. If another line has a line-pattern, this will try to load the null value as line-pattern for the other lines.
Expected behavior
Core ignores null/empty value of line-pattern and will try to render using the other properties.
Actual behavior
Core tries to load the line pattern but since it's invalid it will not render anything.
The text was updated successfully, but these errors were encountered:
I would expect two lines to be rendered, be only the pattern one is shown:
The issue seems to be that while the default value of a line pattern is { "" } and ignores it, when using a get() expression that evaluates to "", the value is treated as valid.
This is an issue downstream in the annotation plugin for Android. In this plugin we use DDS in combination with a high level annotations API to make it easy for users to draw symbols, fills, lines and circles on a map.
I'm currently hitting an issue that I can't show both normal lines as lines with a pattern at the same time. This stems from how core handles empty/null values for the line-pattern property. For normal lines, we don't have a line-pattern value and for those cases we will pass a null value. If another line has a line-pattern, this will try to load the null value as line-pattern for the other lines.
Expected behavior
Core ignores null/empty value of line-pattern and will try to render using the other properties.
Actual behavior
Core tries to load the line pattern but since it's invalid it will not render anything.
The text was updated successfully, but these errors were encountered: