Im stuck with the MapboxGL case cluster.layout.text_field

in cluster point, the layout.text field I want to render a value_text
but as docs, it cant set the value_text to the cluster.properties
and mapboxGL said, the layout cant access to the cluster.feature_state


in my case, value_text = total of ALL current_cluster.leaves.properties.prop_data.items.length
image
After calculated it, I dont know how to let the cluster.layout.text_field render it

so, how can I display the text_field is the value_text?
Thank you!

Hi @eric :wave:

Sorry but this is not a WeWeb issue. I’d recommend you contact Mapbox. We don’t encourage this type of custom code in the editor.

thanks @danlopes
I saw and understand it
so Im thinking another way
and blocked shown here
could you check it?