Open GoogleCodeExporter opened 9 years ago
It would be a great thing to get photooverlay in web-based Google Earth... I
hope it
will not take to loong.
//Tomas
Original comment by fjellfot...@gmail.com
on 2 Jan 2009 at 9:30
Specifically, the ability to respond to a user's "Exit Photo" click would be
nice.
E.g. to set up a callback function to do something after the default exit-photo
behavior.
Original comment by dged...@sageofathens.com
on 28 Apr 2009 at 2:13
We need to be able to catch events on other overlays too... specifically,
screen overlays. I've seen code to try to interpret mouse clicks on the whole
screen and try to calculate whether they fall within the bounds of a screen
overlay. It's ugly, and sometimes it's impossible to get correct.
Original comment by hutt...@gmail.com
on 28 Sep 2010 at 6:17
Original comment by api.roman.public@gmail.com
on 28 Jul 2011 at 4:08
Here is a work around for detecting entering an overlay when a user double
clicks on the photo in the plugin.
----------------------------------------
google.earth.addEventListener(ge.getWindow(), 'dblclick', function(event) {
if(event.getTarget().getType() == 'KmlPhotoOverlay') {
console.log('in Overlay');
}});
----------------------------------------
Original comment by fraser.c...@gmail.com
on 15 Aug 2011 at 5:15
Original issue reported on code.google.com by
api.roman.public@gmail.com
on 12 Aug 2008 at 8:46