Right now we use the attribute name or 80 if the layer contains the word shield. There are situations where someone might want to test longer labels on layers, specifically for shields, and it would be nice to be able to let users do this.
Some options:
Let users edit a layer's label directly in the app, through some kind of UI. For example, each layer might have an edit button with options such as this one behind it.
Read the layer's metadata from the style JSON, specify a metadata field that would override the label in the chart.
Right now we use the attribute name or
80
if the layer contains the wordshield
. There are situations where someone might want to test longer labels on layers, specifically for shields, and it would be nice to be able to let users do this.Some options:
edit
button with options such as this one behind it.metadata
from the style JSON, specify ametadata
field that would override the label in the chart.