mkoneya

refreshInterval on FeatureLayer  3.7 API

Discussion created by mkoneya on Oct 2, 2013
Just started to play around with the 3.7 API and found the refreshInterval property very interesting.

I am able to set a value on a ArcGISDynamicMapServiceLayer and watch our vehicle locations update using the code below:

var wtrvehMSL = new esri.layers.ArcGISDynamicMapServiceLayer("http://arcserver/ArcGIS/rest/services/WaterWO/Water_WO_Misc/MapServer", 
{
[INDENT][/INDENT]refreshInterval: .05
   });


Pretty cool stuff, but when I try to use a FeatureLayer,  the map does not refresh.    I have tried using all different modes, but no luck.

Has anyone tried this yet with a FeatureLayer and if so do you have some code that worked?

Thanks,

Mele

Outcomes