Open GoogleCodeExporter opened 9 years ago
I believe this is by design and the documentation is incorrect.
Original comment by api.roman.public@gmail.com
on 12 Jan 2009 at 10:03
This should definitely NOT be by design... but anyway, here is a workaround:
Disable the <flytoview> on your networklink. Create a second networklink (with
flytoview enabled) that points to a script which generates an empty KML file:
<kml>
<document>
</document>
</kml>
If the script determines it needs to fly somewhere, it will add a simple
<LookAt>
tag inside the <document> element (instead of adding into your original
networklink
kml file).
Original comment by marzi...@gmail.com
on 26 Aug 2009 at 6:42
I think it could be an enhacement request, not a bug.
<flyToView> can be enhanced with a third option: fly on first refresh only.
Now, <flyToView> is executed un each refresh, which is annoying if KML document
contains features on large geographic area.
Original comment by g.ba...@gmail.com
on 29 Sep 2009 at 12:04
@marzig76
thanks, you workaround of using an empty <Document> inside of the <kml> works
fine.
ps, it should be capital 'D' for document :-)
Original comment by louis.st...@gmail.com
on 12 Nov 2010 at 5:43
Original issue reported on code.google.com by
rajni...@gmail.com
on 22 Dec 2008 at 9:07