botaohu / earth-api-samples

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

Mouse events for all types of placemark geometries #66

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What should this feature enhancement do?
Allow for something like google.earth.addEventListener(placemark, "click",
handler); to work for all types of placemarks (Polygons, Models,
LineStrings, etc.)

Are there any currently known workarounds that produce the same, or
similar, result?
N/A

Original issue reported on code.google.com by api.roman.public@gmail.com on 5 Sep 2008 at 9:15

GoogleCodeExporter commented 9 years ago
I would agree this would be a great addon. I would like to have a click event on
kmlobject too. For example after loading a kml/kmz and appending it as a child, 
Set a
click event on the whole kml

Original comment by jaws...@gmail.com on 8 Oct 2008 at 8:13

GoogleCodeExporter commented 9 years ago
This, along with DOM events (like google maps), would be very useful.

Original comment by josh.da...@gmail.com on 27 Oct 2008 at 5:39

GoogleCodeExporter commented 9 years ago

Original comment by api.roman.public@gmail.com on 5 Nov 2008 at 6:36

GoogleCodeExporter commented 9 years ago

Original comment by api.roman.public@gmail.com on 5 Nov 2008 at 11:22

GoogleCodeExporter commented 9 years ago
Would especially be useful for being able to add listeners to the built in 
layers of
google earth. For example when I turn on the Borders layer which includes 
country
boundaries, placenames etc I would like to be able to add listeners for mouse 
events
related to those features (e.g cities). 

Original comment by darylpar...@gmail.com on 6 Nov 2008 at 3:40

GoogleCodeExporter commented 9 years ago
Daryl, can you file a separate feature request for that? I suspect that may be
significantly more difficult than the user-added geometry mouse events.

Original comment by api.roman.public@gmail.com on 6 Nov 2008 at 7:05

GoogleCodeExporter commented 9 years ago
Being capable of firing events once a model is clicked, or, even being capable 
of
having events associated with models will be a great addon the google APIs

Original comment by AlaaFQan...@gmail.com on 26 Nov 2008 at 1:38

GoogleCodeExporter commented 9 years ago
This feature is now available in the latest version. Mouse events on models are
partially working. We will open a new issue for that and merge this one in.

Original comment by api.roman.public@gmail.com on 3 Dec 2008 at 9:00

GoogleCodeExporter commented 9 years ago
Can any one email me this fixed.
how it is possible to fired linestring click event

Original comment by waqaratt...@gmail.com on 26 Jan 2009 at 5:12

GoogleCodeExporter commented 9 years ago
As stated by "api.roman.public"
This feature is now available in the latest version

so i have version showing 4.3.9684.6498 but it is not still working

Original comment by waqaratt...@gmail.com on 26 Jan 2009 at 6:44

GoogleCodeExporter commented 9 years ago
Hi waqarattari,

If you take a look at the release notes:

http://code.google.com/apis/earth/documentation/releasenotes.html

There have been several new version of the plugin. If you don't have the latest 
version, I'd suggest 
uninstalling from Add/Remove programs and then installing again by visiting any 
Earth API site.

- Roman

Original comment by api.roman.public@gmail.com on 26 Jan 2009 at 7:40

GoogleCodeExporter commented 9 years ago
I just updated to 

Google Earth Plug-in, version 4.3.11528.8566 (Windows, Mac)
12/19/2008

but problem is...

1) This plugin is not running in Firefox displaying 
"There was some problem with the Google Earth Plugin. Try reloading the page."
while uninstall then install two times

2) This plugin running in IE but when i click linestring it fired mousedown 
event but
go in not responding mode...:(

Original comment by waqaratt...@gmail.com on 26 Jan 2009 at 10:42

GoogleCodeExporter commented 9 years ago
Hayy

Problem (2) is now working actually it just get freeze on mousedown event but 
work
fine on click event

just problem (1) is still remain it is not working with Firefox 3.0.5 
displaying same
error "There was some problem with the Google Earth Plugin. Try reloading the 
page."

Original comment by waqaratt...@gmail.com on 26 Jan 2009 at 10:51

GoogleCodeExporter commented 9 years ago
Hi, please post this question to the developer forum:

http://groups.google.com/group/google-earth-browser-plugin/topics

as this is no longer relevant to this feature request.

Original comment by api.roman.public@gmail.com on 26 Jan 2009 at 6:10

GoogleCodeExporter commented 9 years ago
ok Thanks  api.roman.public

Original comment by waqaratt...@gmail.com on 27 Jan 2009 at 6:26