I have a requirement to display an animated trail within a panorama, revealing the trail in the panorama from one end bit by bit over a period of time. To do this, I have created the trail within the panorama XML not as a single polyline hotspot, but as a series of polylines that only has two points representing a small segment of the trail. Since each of the hotspots is defined in the XML as not being visible, I can make them visible progressively one by one within a render loop through the javascript interface to perform the animation. But this does not result in a smooth animation since the position within the animation may not exactly correspond to the end of the last revealed segment. When I planned this out, I figured that I could handle this issue by having a single 'floater' polyline that could always be at the tip of the revealed line, with its two line coordinates always being changed within the render loop to match the required position within the animation. Where I am now stuck is that I have not figured out how to modify the coordinates of the two points of the 'floater' polyline hotspot on the fly through the javascript interface. So if anyone can tell me how to dynamically update the point coordinates within a polyline hotspot on the fly I will be very grateful, or if someone knows of another technique to create an animation like this that I have not thought of please let me know. Thanks.
Larry Wieland