Closed GoogleCodeExporter closed 8 years ago
[deleted comment]
[deleted comment]
add this "Me.GeWebBrowser1.AddEventListener(ge.getGlobe(), EventId.Click)" to
Private Sub geWebBrowser1_PluginReady(ByVal sender As Object, ByVal e As GEEventArgs)
than add this code
Private Sub GeWebBrowser1_KmlEvent(ByVal sender As System.Object, ByVal e As FC.GEPluginCtrls.GEEventArgs) Handles GeWebBrowser1.KmlEvent
Debug.WriteLine(e.ApiObject.getClientX())
Debug.WriteLine(e.ApiObject.getClientY())
Debug.WriteLine(e.ApiObject.getScreenX())
Debug.WriteLine(e.ApiObject.getScreenY())
Debug.WriteLine(e.ApiObject.getLatitude())
Debug.WriteLine(e.ApiObject.getLongitude())
Debug.WriteLine(e.ApiObject.getAltitude())
Debug.WriteLine(e.ApiObject.getDidHitGlobe())
Debug.WriteLine(e.ApiObject.getTimeStamp())
GeToolStrip1.Items("ToolStripTextBox1").Text = String.Format("Lat({0:00.000000}),Lon=({1:00.0000000}),Alt={2:0000.0}", e.ApiObject.getLatitude(), e.ApiObject.getLongitude(), e.ApiObject.getAltitude())
'Debug.WriteLine("Latitude= {0} Latitude={1}", e.ApiObject.getLatitude(), e.ApiObject.getLongitude())
End Sub
Original comment by amrzakar...@gmail.com
on 20 Oct 2014 at 10:39
Original issue reported on code.google.com by
jinjinta...@gmail.com
on 2 Nov 2013 at 6:08