What is the best way to wait for this graphic to load?
Line 1, 2 and 3 are loaded (See console.log)
But line 6 suggest not yet, everything is null (see console.log)
I tried
but it didn't work...
Thanks.
console.log(layerSettings.options.geom)
console.log(layerSettings.options.symbol)
console.log(layerSettings.options.attr)
var graphic = new esri.Graphic(layerSettings.options.geom, layerSettings.options.symbol, layerSettings.options.attr);
features.push(graphic)
console.log(features))
So are you still having issues then?