I am using the jframe in my application to show google maps.
When I want to show the route between the locations, I do like, I get the direction co-ordinates using the direction API URL like:
And I plot the JSON response on static map API like:
The image I am getting has straight lines and are inappropriate to my application. I want the output be like similar to the one we get in Google-maps. And the requirement is that this should be achieved in java.
help me in solving this, Thanks in advance.