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 was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was 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.
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.
Activity
tobrun commentedon Apr 4, 2019
Created a minimal reproducible example in 2d91a8f#diff-b1dcccccc9ff5957b8e35726e4bb142fR97
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 aget()expression that evaluates to"", the value is treated as valid.tobrun commentedon Apr 9, 2019
Validated that passing in the default value of
""to the property results in showing no lines at all.stale commentedon Oct 6, 2019
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.
stale commentedon Apr 4, 2020
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.