ajayagarwal1567 / earth-api-samples

Automatically exported from code.google.com/p/earth-api-samples
0 stars 0 forks source link

[Bug?] How to get the coordinates when a linestring is clicked ? #884

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Attach any mouse event to a linestring placemark
2. Make sure you click on the line in front of the sky (vs in front of the 
terrain)

What is the expected output or behavior? 

The event should be populated with the hit coordinates (a point on the line)

What do you see instead?

lat = lng = altitude = 0

Which plugin version are you using? Which browsers and operating systems are 
affected?

Win8 / GEP 7.0.1.8244 / Chrome

Please provide any additional information (code snippets/links) below.

I have created an online TC: http://jsfiddle.net/KfeVK/

I haven't received any reply on the forum: 
https://groups.google.com/d/msg/google-earth-browser-plugin/gS9aZW8-6QM/piP54cGJ
69QJ

Original issue reported on code.google.com by victor.b...@gmail.com on 7 Dec 2012 at 8:45