polygons and polylines derrive from the same class now
issue #930