Polygons and Polylines now working