Egmap
Realtime tracking and polylines

Hello Guys,
I'm creating an application that tracks users location and displaying them on the map. My problem is that i don't know of a way to draw polylines between two tracks using Egmap (I couldn't find an example). I would also like to know of a way to show the user's tracks in realtime without manually reloading the page (preferrably using Yii) but jquery/ajax is welcome. Can any of you great programmers help me figure out this problem?