Draw a dot by clicking on the canvas

Hey
I built the Flight Tracker tutorial,
It was really nice,
Now I want to draw the trajectory of the plane myself.
I want to achieve a single point location
(Longitude, Latitude, Elevation)
By clicking on the canvas.
How do you do that please?

Hi Yoni,

This example in Sandcastle prints out the latitude and longitude of the point on right click.

Hi
Thanks,
I used this example but the coordinates I get are weird,
I combined this example with the example of the Flight Tracker
And I get completely different numbers,
Do I need to make any conversion?
And I also want to produce a reset button,
A function that will delete all the markings I marked on the canvas
And stop following the plane
Can you please explain to me how to do this?