It's the same for everyone. If you would drive into the very same buldings (Hangar, indestructable, barn, ect) your icon would be hidden too.
Parking under a tree is different from being inside a building: there is no roof that can completely block the icon. Depending on angle the viewer has relative to you, your icon may or may not show. But the very same applies when an enemy tries to hide under a tree.