be88ex / earth-api-samples

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

Events for when tour primitives begin and end #251

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What should this feature enhancement do?

It should be able to listen to events (in JavaScript) that signify when a 
tour primitive begins and ends.

Are there any known workarounds that produce the similar results?

Not that I know of.

Original issue reported on code.google.com by Noel.Cha...@gmail.com on 25 May 2009 at 3:45

GoogleCodeExporter commented 8 years ago
The tours are a great addition! It would also be great if there was an event on 
time-
line change - rather than just the start and end. I figured I'd add this here 
rather 
than start a new request.

I'm thinking something like the following would be ace...

------------------------------------------
google.earth.addEventListener(ge.getTourPlayer(), "tick", tourEventListener);
tourEventListener(event){ 
  if(event){
    currentTime = event.getTarget().getTime();
  }
}
------------------------------------------

Original comment by fraser.c...@gmail.com on 26 May 2009 at 4:27

GoogleCodeExporter commented 8 years ago
Issue 249 has been merged into this issue.

Original comment by api.roman.public@gmail.com on 4 Jun 2009 at 11:55

GoogleCodeExporter commented 8 years ago
balloonopen/balloonclose was also requested but that's an orthogonal issue.

So far, requested events:

1) tour primitive start/end
2) tour player tick

Original comment by api.roman.public@gmail.com on 4 Jun 2009 at 11:56

GoogleCodeExporter commented 8 years ago
I second this and would also like to create an event for a "timechange" or 
"tick" of the GETimeControl object.   

I couldn't tell if the above request included this, but figured I would list it 
just in case.  Thanks!

Original comment by SLRos...@gmail.com on 17 Jun 2011 at 10:27