devdattaT / kml-samples

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

Autoplay of tours #248

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I would like a tour to go into 'autoplay' upon opening the kml/kmz, or, at
the very least, to ask permission to start the tour.  As it currently is, I
have to tell my audience how to start the tour I have built for them 'on
the fly'.

many thanks

Jerry

Original issue reported on code.google.com by jerry....@gmail.com on 18 Feb 2009 at 10:20

GoogleCodeExporter commented 8 years ago

Original comment by api.roman.public@gmail.com on 18 Feb 2009 at 6:45

GoogleCodeExporter commented 8 years ago
I highly recommend offering an autoplay(); type option to the api. A no brainer.

Original comment by mattbrow...@gmail.com on 21 Jul 2009 at 8:58

GoogleCodeExporter commented 8 years ago
Just like you can make Google Earth position the camera at a specific place 
when opening a
KML file, it would be nice if you could make Google Earth play a tour when 
opening a KML file.
Today this is only achievable if the KML consists of nothing but the tour. That 
is sad because
often you want additional content to be loaded as well.

Jarl

Original comment by j...@gavia.dk on 26 Oct 2009 at 12:35

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

Original comment by api.roman.public@gmail.com on 28 Oct 2009 at 4:45

GoogleCodeExporter commented 8 years ago
Yes please. Hunting down the tour item in the treeview is too hard. I would 
like to
see Google Earth to display the tour controls when the kml is loaded if there 
is a
tour stored in the kml. The play button in the standard controls is enough of a 
hint
for the user to click on it.

Original comment by vandint...@gmail.com on 7 Nov 2009 at 6:44

GoogleCodeExporter commented 8 years ago
I too would like an autoplay option. Please make sure it is available in KML 
and not just in the javascript API as I (and I'm sure many others) write KML 
for use in the Google Earth application rather than (or as well as) the browser 
plugin.

Original comment by fe2o3...@gmail.com on 14 Nov 2010 at 4:56

GoogleCodeExporter commented 8 years ago
Definitely concur.  It would open up a whole new stream of uses for me because 
it makes a lower barrier to entry for my customers.  "Here, click the file I 
attached to this email and watch the magic...."

Original comment by Wesley.H...@gmail.com on 7 Dec 2010 at 4:13

GoogleCodeExporter commented 8 years ago
I'm currently working on a google earth tour project and managed to have the 
play it on load. Problem is when we refresh the page or load another instance 
of the tour, the whole plugin crashes. Code below

function finishFetchKml(kmlObject) {
  // check if the KML was fetched properly
  if (kmlObject) {
    // add the fetched KML to Earth
    currentKmlObject = kmlObject;     
       ge.getFeatures().appendChild(currentKmlObject);   
       walkKmlDom(currentKmlObject, function(){              
                 if (this.getType() == 'KmlTour'){
                      tour = this;
                     return false;
                 }                                       
                 });
  } else {
    // wrap alerts in API callbacks and event handlers
    // in a setTimeout to prevent deadlock in some browsers
    alert("deadlock!");
    setTimeout(function() {
      alert('Bad or null KML.');
    }, 0);
  }
    if (tour)
  {
    ge.getTourPlayer().setTour(tour);
    //ge.getTourPlayer().reset();
    ge.getTourPlayer().play();
  }
}

if comment our //ge.getTourPlayer().play(); it works but not how what i need it.

Original comment by bobby.ro...@gmail.com on 9 Feb 2011 at 1:30

GoogleCodeExporter commented 8 years ago
Me too!  We are using the "Tour" to show off some modelling we have done to 
prospectice clients. Having to search the tree, double click on Tour is a 
terrible experience.   Sure, the tour auto plays if it is the only thing in the 
kml but the in our situation we have a complex model in there too.

Original comment by davidap...@gmail.com on 26 Sep 2011 at 11:38

GoogleCodeExporter commented 8 years ago
This has been a long wait, causing my clients to get frustrated with Google 
Earth.  Is there a workaround for a tour with other placemarks?

Original comment by talism...@gmail.com on 6 Oct 2013 at 6:48

GoogleCodeExporter commented 8 years ago
So this has been an issue for more than five years, and no solution has been 
created? What's the story? Is Google working on this, or is it just not 
important enough to show up on the radar?

Original comment by CAProp...@gmail.com on 11 Mar 2014 at 3:11

GoogleCodeExporter commented 8 years ago
this is a large issue and it's a waste of technology just because of a basic 
function not implemented google earth can't be used in realtime.

Original comment by ad...@serveurperso.com on 10 Jul 2015 at 4:33