Thankyou very much for your reply, Actually it was my mistake, though it had nothing to do with map , but yeah had problem with coordinates, But your reply was very helpfull.
I am new to PTV xServer Api's. I am calculating distance between two postcodes but i am getting error when i send the coordinates points to the function " calculateRouteInfo() " , the error i get from the web service is "linking to waypoint (zero-based index list: unknown) failed ...