for flags you have to use boolean custom properties. flag1..8 and the polygon flag are supported at the moment. support for more flags could be added easily.