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
While it's possible to calculate the text length of the shield_text property client side in both Tangram and MapboxGL, it's more performant to calculate that server side and include as a property on each relevant feature. Let's do that and call it shield_text_length as a post-processing step in queries.yaml with new transform function.
Because shield_text can be either numerical or string we should always store it as string values to also illuminate type conversions client side.
Shield artwork is between 1 and 6 chars long, so consider stripping out longer shields.
The text was updated successfully, but these errors were encountered:
shield_text
property client side in both Tangram and MapboxGL, it's more performant to calculate that server side and include as a property on each relevant feature. Let's do that and call itshield_text_length
as a post-processing step in queries.yaml with new transform function.shield_text
can be either numerical or string we should always store it as string values to also illuminate type conversions client side.The text was updated successfully, but these errors were encountered: