AnsweredAssumed Answered

progress while loading feature layer.

Question asked by jay.kapalczynski on Jul 29, 2014
Latest reply on Jul 30, 2014 by jay.kapalczynski

Is there a way to alert the user while a layer is being drawn o the screen...

I have one that is rather large and it take a second or two...I have it scale dependent so it only draws when zoomed far in but is still a bit large...I want them to know for sure that its drawn completely.

 

I have an image that spins but just dont know where to put the code to start and stop (show and hide) this image.

 

var flArchitecture = new FeatureLayer("https://server/arcgis/rest/services/Test/Resources/MapServer/1", {

         mode: FeatureLayer.MODE_ONDEMAND,

         infoTemplate: templateHR,

         outFields: ['*']

    });

 

 

app.map.addLayer(flArchitecture);

 

 

 

Outcomes