how to draw line in which points are added dynamically. createGeoLine() contains only start and end point createMultiline() contains points of arrays with fix size.