On Dec 1, 4:45 pm, peanut <[email protected]> wrote:
> Thanks for your replies. I am just getting back into this.
>
> Chad thanks for sharing your code. That may be an option for me going
> forward. I will have to rewrite some of the code because I have several
> other tiled layers and need to keep track of those in the stack as
> well. BTW... Your mobile campus map is really nice. It was one of the
> sites I looked at when I was putting together the mobile version of the
> hydromet data website athttp://hydromet.lcra.org/mobile.aspx.
>
> Tomfumb I do purposely add a timestamp to each of the requests in the
> API version 2 app. Since this is radar imagery those images update on
> the server at Iowa Mesonet every 5 minutes. So I don't want the browser
> caching the images for too long. In the version 2 app to do the
> animation I would load the images for 7 different time frames using
> map.addoverlay and then just show and hide them. I only allowed the
> loop to run for 5 minutes then removed all the radar images from the
> map using map.removeoverlay and then reload the latest set of radar
> images until someone animates the radar again.
>
> Kesuke to run the radar onhttp://hydromet.lcra.orgtoggle the Current
> Radar checkbox on the left and then click the Start Loop link. You may
> have to pan the map to a part of the country where there is
> precipitation falling.
>
> Any other thoughts are welcomed. Are there plans at Google to add show
> and hide to the version 3 overlayMapTypes? If so I have at least 2
> years until version 2 of the API goes away. Might be best to wait for
> this.
>
> Rich
I guess I could adapt:
http://www.polylib.us/radar
qute easily.
It ought to pole a different set of radar sites if the map center
changes. The use of CANVAS to rescale & combine GIFs will improve
performance. Let me know if it will help.
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-js-api-v3?hl=en.