[OpenLayers-Users] Real-time image in Openlayer
Greg Allensworth
gregor at greeninfo.org
Fri Sep 2 11:20:25 EDT 2011
It's true, that WMS.redraw() doesn't seem to really force it. Try this
trick:
refresh_test.mergeNewParams({ blah:Math.random() });
refresh_test.redraw(true);
This changes the URL string to include a blah= ¶m which will be
different every time, thus tricking your browser cache.
Arnie's method of using time can work too; either should be just fine.
--
Greg Allensworth, Web GIS Developer
BS A+ Network+ Security+ Linux+ Server+
GreenInfo Network - Information and Mapping in the Public Interest
564 Market Street, Suite 510 San Francisco CA 94104
PH: 415-979-0343 x302 FX: 415-979-0371 email: gregor at greeninfo.org
Web: www.GreenInfo.org www.MapsPortal.org
Subscribe to MapLines, our e-newsletter, at www.GreenInfo.org
More information about the Users
mailing list