controls changes during a tour to KML features, using .
Changes to KML features will not modify the DOM - that is, any changes will be reverted
when the tour is over, and will not be saved in the KML at any time.
should also contain a value to specify the length
of time in seconds over which the update takes place. Integer, float, and color
fields are smoothly animated from original to new value across the duration; boolean,
string, and other values that don't lend to interpolation are updated at the end
of the duration.
Refer to Tour timelines in the Touring chapter of the KML Developer's Guide for
information about and the tour timeline.
Syntax:
<gx:AnimatedUpdate>
<gx:duration>0.0</gx:duration> <!-- double, specifies time in seconds -->
<Update>
<targetHref>...</targetHref> <!-- required; can contain a URL or be left blank -->
<!-- (to target elements within the same file -->
<Change>...</Change>
<Create>...</Create>
<Delete>...</Delete>
</Update>
</gx:AnimatedUpdate>
createAndSetUpdate(java.lang.String targetHref,
java.util.List<java.lang.Object> createOrDeleteOrChange)
Creates a new instance of Update and set it to update.
extends gx:TourPrimitive by specifying a time-span for events. The
time is written as seconds using XML's double datatype.
Duration and
Duration and
Specifies the length of time over which the update takes place. Integer, float,
and color fields are smoothly animated from original to new value across the duration;
boolean, string, and other values that don't lend to interpolation are updated at
the end of the duration.
When a duration is included within a element, it specifies the length
of time that the browser takes to fly from the previous point to the specified point.
Specifies an addition, change, or deletion to KML data that has already been loaded
using the specified URL. The specifies the .kml or .kmz file whose
data (within Google Earth) is to be modified. is always contained in a
NetworkLinkControl. Furthermore, the file containing the NetworkLinkControl must
have been loaded by a NetworkLink. See the "Topics in KML" page on Updates for a
detailed example of how Update works.
With , you can specify any number of Change, Create, and Delete tags for
a .kml file or .kmz archive that has previously been loaded with a network link.
See .