I want to have two entities, one with polygon heightRefrence RELATIVE_TO_GROUND and other with NONE.
RELATIVE_TO_GROUND works only if both entities have heightReference set to RELATIVE_TO_GROUND. If one has set it to NONE, both entities are displayed as NONE, but values inside entities seems OK. (0 and 2 for NONE and RELATIVE_TO_GROUND)
In example uncooment line 20 to repeat this behavior.