I was going through the routing example Simple Routing which works on map click event. I am bale to replicate the same but instead of click I want the routing to take place using 2 different x,y.
Can anyone help me on this?
I tried some ways but failed miserably.
It would be of great help if anyone can help me with at least 2 hard coded points. Any reference or examples can be of great help.
Thanks in Advance.