Hello, I need to draw route between two points. I have tested San Diego example that document showed. Now I need to use in my area Sri Lanka. When I used I got check getCause(). How do I use routing feature in my area Sri Lanka. I saw some configuration in example like:
The sample code uses a dataset which I believe only covers the San Diego area. It's a demo service and not designed for production use. If you want to perform routing operations in other areas you will need to use a different service.
You have a couple of options here, you can either make your own data, or you can use one of the services we host. There is lots of information about it here:
Does this help?