<html>
<head>
<style type="text/css">
<!--
body { margin-left: 4px; margin-right: 4px; line-height: normal; margin-bottom: 1px; margin-top: 4px; font-variant: normal }
p { margin-bottom: 0; margin-top: 0 }
-->
</style>
</head>
<body style="margin-left: 4px; margin-right: 4px; margin-bottom: 1px; margin-top: 4px">
<p style="margin-top: 0; margin-bottom: 0">
<font face="Comic Sans MS" size="3">Brent,</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Comic Sans MS" size="3">Jim K. has been looking at how to animate some things for GPS trails and such, I think he has some ideas here. A generic approach would be beneficial for a number of functions.</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Comic Sans MS" size="3">Some functionality we're look looking at (or have looked at):</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Comic Sans MS" size="3">** Animating through multiple (temporal) images (for Weather animations for example).</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Comic Sans MS" size="3">** Animation of a GPS track, could be images and/or SVG (or some other canvas type thing)</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Comic Sans MS" size="3">** There was a conversation at one point about adding in some sort of scripting support to GeoMoose that was interpreted on the client. HTML can update itself for example.</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Comic Sans MS" size="3">** There was also talk of adding in a History recorder that could allow for replaying a user session.</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Comic Sans MS" size="3">To date I just use a Flash desktop movie maker for these types of things, It's pretty quick to do too. There are free ones and pay for, I like Flashback myself.</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Comic Sans MS" size="3">Here are a few that I've done recently:</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font size="3" face="Comic Sans MS" color="#0000ff"><u><i><a href="http://www.mngeo.state.mn.us/committee/emprep/structures/index.html">http://www.mngeo.state.mn.us/committee/emprep/structures/index.html</a></i></u></font><font face="Comic Sans MS" size="3"></font> </p>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Comic Sans MS" size="3">(look for "Video Tutorials")</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Comic Sans MS" size="3">bobb</font> </p>
<br> <br>
<p style="margin-top: 0; margin-bottom: 0">
<br>
<br>
>>> Brent Fraser <bfraser@geoanalytic.com> wrote:<br> </p>
<div style="margin-left: 15px; margin-right: 0; padding-left: 7px; margin-bottom: 0; margin-top: 0; background-color: #f3f3f3; border-left: solid 1px #050505">
<p style="margin-top: 0; margin-bottom: 0">
All,<br><br>   If you followed last week's "Layer Functions" thread you know that I used the<br>GeoMOOSE API to create a "Zoom To Layer Extents" button on the metadata results<br>page.<br><br>   Our marketing guy asked if it would be possible to create a "slide-show" or<br>"tour" using similar techniques.  At first I thought it would be easy and had<br>the php return:<br><br>var mapWin = window.opener;<br>var GeoMOOSE = mapWin.GeoMOOSE;<br><br>GeoMOOSE.clearPopups();<br>GeoMOOSE.zoomToExtent(-12711115, 6271185,-12665227, 6309521);<br>GeoMOOSE.turnLayerOn("Quickbird/Waterton");<br>GeoMOOSE.addPopup(-12687075, 6290155, 200, 100, "Quickbird Imagery supplied by<br>Geoanalytic");<br><br>wait(3000);<br><br>GeoMOOSE.clearPopups();<br>GeoMOOSE.zoomToExtent(-12702314, 6719493,-12696849, 6724881);<br>GeoMOOSE.turnLayerOn("Parcels/all");<br>GeoMOOSE.addPopup(-12701359, 6721881, 200, 100, "Parcels supplied by AltaLIS");<br><br><br>only to find out that Javascript has no wait/sleep/pause function, and in fact<br>the whole idea is contrary to the async nature of JavaScript.  I did find some<br>info at <a href="http://www.devcheater.com/">http://www.devcheater.com/</a> outlining the problem, some solutions and<br>their effect on various browsers.  The best approach looks like using XMLHttp<br>and server-side scripting to get things to wait, but perhaps there's a better way?<br><br>Any thoughts?<br><br>Brent Fraser<br><br><br>------------------------------------------------------------------------------<br>ThinkGeek and WIRED's GeekDad team up for the Ultimate<br>GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the<br>lucky parental unit.  See the prize list and enter to win:<br><a href="http://p.sf.net/sfu/thinkgeek">http://p.sf.net/sfu/thinkgeek</a>-promo<br>_______________________________________________<br>Geomoose-users mailing list<br>Geomoose-users@lists.sourceforge.net<br><a href="https://lists.sourceforge.net/lists/listinfo/geomoose">https://lists.sourceforge.net/lists/listinfo/geomoose</a>-users<br>
</p>
</div>
</body>
</html>