Agree with you. But I want the ‘define marker’ to use a ‘Level follows expression’ as I want it to select the appropriate flag from the 10 available. Just using MPController_Level, a piece trait within the same prototype as the Place Marker trait, does not work. If I use a single graphic using only the Basic trait it works fine.
I rejigged the whole prototype to use the DP result, which I renamed to MaP. Following expression used in the ‘define marker’ to select the right level graphic.
(MaP==“chinat”?2:(MaP==“chicom”?3:(MaP==“cw”?4:(MaP==“france”?5:(MaP==“germany”?6:(MaP==“italy”?7:(MaP==“japan”?8:(MaP==“usa”?9:(MaP==“ussr”?10:1)))))))))
This throws an error:
Bad Data in Module: [Layer - mapmarker] - Numeric field contains a non-number followProperty[{(MaP==“chinat”?2:(MaP==“chicom”?3:(MaP==“cw”?4:(MaP==“france”?5:(MaP==“germany”?6:(MaP==“italy”?7:(MaP==“japan”?8:(MaP==“usa”?9:(MaP==“ussr”?10:1)))))))))}]=true
An interesting outcome, as a true result should result in a number for the Level to use. The same expression works OK to select the right flag to be displayed on the unit. Why do I guess I’ll need a GP so the place marker expression knows what what MaP is.