Select to view content in your preferred language

Not all layers appear in Sample Flex Viewer when it first starts up.

2875
11
09-22-2010 12:45 PM
DavidWheelock
Frequent Contributor
I'm working on an app based on the Sample Flex Viewer 1.3.  When it first starts up, often not all of the layers appear.  However, if you close and reopen the browser a second time then they will probably all appear, and almost certainly appear if you close and reopen a third time.  If you don't close and reopen the browser then the layers cannot be made to appear.

I've spoken with others who have this problem on their SFV based sites as long as a year ago, as well.  So it is not specific to me.

It seems that there's a timeout on the layers and if the server doesn't deliver the layer to the browser before the timeout, then the browser just goes on like it doesn't matter.

Has anyone found a 100% reliable way to solve this problem and make all the layers show up the first time?
Tags (2)
0 Kudos
11 Replies
DavidWheelock
Frequent Contributor
Thanks.  Would increasing the number of instances help?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
David,

   If you have the processor and memory resources available on the server than yes. To explain it in laymens terms if one instance has gone to sleep, crashed, or is busy than one of the other instances will be used intstead to produce the map image. So the more instances you have the better off you are at have all requests to your server actually get served. There's a white paper some where years ago that I used to determine how many instances you can have verses the processor cores and memory on the server. Don't know off hand where to find that though.
0 Kudos