I'm running into an issue while setting entities with a polygon show property.
I set this property value based on the camera height, and it all works fine, until I add a new entity (not related in any way/value to the original one).
Once the new entity is added, the old entity's polygon suddenly appears even with its show set to false. While testing this issue I saw that when setting the polygon with extrudedHeight doesn't lead to this problem, however it also happens with polyline, and polyline doesn't have extrudedHeight property.
Check this fiddle http://jsfiddle.net/4stotb8a/.
Is there anyway to resolve it without using extrudedHeight?