Hello there!
I would appreciate it very much if you guys help me solve this issue:
I'm trying to create FeatureLayer like this
featureLayer = new esri.layers.FeatureLayer(featureServiceURL, featureLayerOptions);
the line above gives me an error: Unable to draw graphic (geometry:null, symbol:null): Unable to complete operation.
That's because featureServiceURL points to the server which does not exist or is inaccessible.
My question is: how to find out if the service is OK before creating FeatureLayer - in other words, how to validate service prior to FeatureLayer please?
Thanks in advance,
Klim