Those two polygons did not show up because you did not set "number of points"
It was different from current, which you need to set it.
The current version use all the number of elements from x,y array.

I also remove marker property, unless you really want those markers.
Please check out the version I have moified.