Kazu46Machi / earth-api-samples

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

Model mouse event area has almost no size #179

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. load the interactive demo

http://earth-api-samples.googlecode.com/svn/trunk/demos/interactive/index.html
2. Click create 'Create 3D Model' without running it.
3. Add an event listener to the Model's placemark by adding this to the end
of the code window.

google.earth.addEventListener(modelPlacemark, "click", 
function(event){alert(1);});

4. Run the code.
4. Try to find the tiny location where event will actually fire (Hint: zoom
out or it will never happen. Your cursor will change from a hand to a pointer.)

What is the expected output or behavior? What do you see instead?
I expected the hot area for the mouse event to be the size of the model object.

Which plugin version are you using?
4.3.11528.8566

Which browsers and operating systems are affected?
All

Please provide any additional information (code snippets/links) below.
The hot spot for the models I've created, as well as the one used in the
interactive demo, seem to have no mass/size. The event testing seems to be
a matter of finding the origin of the object which becomes infinitely tiny
if your zoomed in too much.

Original issue reported on code.google.com by limelink777@gmail.com on 9 Mar 2009 at 10:45

GoogleCodeExporter commented 8 years ago
dupe http://code.google.com/p/earth-api-samples/issues/detail?id=123

Original comment by limelink777@gmail.com on 9 Mar 2009 at 10:49

GoogleCodeExporter commented 8 years ago

Original comment by api.roman.public@gmail.com on 10 Mar 2009 at 5:23