AnsweredAssumed Answered

How to convert an Arcade Label to a String?

Question asked by DanKil on Apr 17, 2019
Latest reply on Apr 17, 2019 by DanKil

So I know it is possible to extract the json from a LabelDefinition. There I can see the Arcade Expression but I want to see the parsed Arcade Label.

I would like a method wich I can call together with a Feature and get the Label Text wich would be shown in the MapView.

The same already exists for the Graphics. There is a Renderer class with a method GetSymbol and the parameter of a Feature (GeoElement) and I get a Graphic returened.

Why isn't there a LabelRenderer Class which does the same for Labels? I can't be so difficult to parse Arcade because you are already doing this for the MapView.

Outcomes