Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I use OpenScales to show a WMS layer and it is strange that when zoom in/out sometimes OpenScales show tiles in cache, so Multi-resolution tiles showed in the layer. When paning the layer, incorrect tiles will disappear. How can I fix this? Thanks!!!

share|improve this question
add comment

1 Answer 1

You can force OpenScales to force a refresh using

private function refresh():void{
  var date: new Date();
  WMSLayer.params.setAdditionalParam("time",date.milliseconds);
  WMSLayer.layer.redraw(true);
}

Source:

http://openscales.org/demo/current/ Layers>WMS 1.3.0

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.