On Nov 11, 8:00 pm, DeirdreH <[EMAIL PROTECTED]> wrote: > Hey folks: > > Has anyone else started experiencing problems with > GTileLayerOverlay.refresh() seeming to not function? > > I have a traffic congestion map which uses a overlay created from a > wms to show roadway congestion. Every 2 minutes, an ajax poll to the > server gets information for the incident points and then calls > refresh() on the congestion tile overlay. This was functioning fine > last time I worked on it. > > Today, I received a complaint that the tiles didn't seem to be > updating properly. I've been watching the site using Firefox/Firebug > and I see an issue. It hits the call to refresh() (breakpoint in the > script panel) but the Net panel isn't showing any new requests to the > wms. > > Thanks, > DeirdreH
Tiles may not be a good choice for time sensitive images for the reasons you are experiencing. If you pan your map, you will have a mix of old tiles with new tiles. You must add a bogus parameter to your URL to defeat your browser's cache. Otherwise, it may not refresh every tile. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" 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-API?hl=en -~----------~----~----~----~------~----~------~--~---
