I have a number of vehicles being tracked and the label field is a number for the Truck number.
I would to label the trucks based on who the assigned driver is.
The label field looks like
166 - PU HD
166 being the truck number. and I want to label is as "VOSS". In Pro it is just fine to make label classes based on the truck numbers, but the map will not carry over to a web map. Unless there is a way to make label classes for a web map
So I want to do
if($feature.label = "166 - PU HD", "VOSS", (if($feature.label = "186 - PU HD", "LANGLEY","none"))
I have looked at a number of examples but the are not working.