add example for the drawing feature
now the polyline will be removed on closeChildren