Hello,
I have attached code here, it is sample for closest facility. I dont get route from incident to facility.
My closest facility service works perfectly in service directory.
I get this message
dojo.io.script.jsonp_dojoIoScript3._jsonpCallback({"error":{"code":500,"message":"Error solving closest facility","details":["Time attribute specified for directions engine does not exist in network dataset."]}});
Now how to overcome with this problem? Please note that i do not have time data in my network, i am using only length. Please help me as fast as you can.
Pratik M