events attribute added to polyline. and polylines
issue #553 resolved