…this shows text_source: [name, kind] working as expected for a text style. Then change visible: false to visible:true.
RESULT:
No text labels are drawn for the points style, and the console throws:
Layer 'water': cannot use boundary labels (e.g. 'text_source: { left: ..., right: ... }') for 'text' labels attached to 'points'; provided 'text_source' value was ["name","kind"]
EXPECTED RESULT:
I expect the points style to use the array in text_source as a list of prioritized feature properties to use for the text label.
TANGRAM VERSION:
Tested from v0.12.0 on – works as expected in v0.11.
TO REPRODUCE THE ISSUE, FOLLOW THESE STEPS:
Visit https://tangram.city/play/?#10.4708/37.7991/-122.5005 using this scene file:
…this shows
text_source: [name, kind]
working as expected for atext
style. Then changevisible: false
tovisible:true
.RESULT:
No text labels are drawn for the points style, and the console throws:
EXPECTED RESULT:
I expect the
points
style to use the array intext_source
as a list of prioritized feature properties to use for the text label.