Update polygon.js
Update polyline.js
Update polygon.class.js
Update polyline.class.js
Merge pull request #1635 from asturur/Polygons-and-Polylines

Fix polygons and polylines rendering