GPS lines: measuring distance in real-time

Now, I have a means of taking the coordinates for the desired polygon, checking them against the distance requirement from a central point, and saving the lat and long coordinates.

I would like to immediately display this as a geoshape on a map on the device itself. Is there a means to do display a polygon with these points?

Thank you!