Jørgen S. Nicolaysen wrote:
You must set the parameter 'interval' for the refresh strategy to make it
work:
var refreshStrategy = new OpenLayers.Strategy.Refresh({interval: 1000});
Note that this is the time in milliseconds, if it is 0, it will not trigger
refresh at all.
I've discovered it myself so I've switched to Strategy.Fixed(). I'd like to
refresh not with an interval but by a user action. I'll see if I can destroy and
recreate the layer to achieve the wished behaviour.
Thanks anyway
Wyo
http://www.orpatec.ch/osm/tools/test.php
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users