-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Route is not Drawn on Map #25
Comments
Having same problem. |
Same issue. Please help. |
SOLUTION: Now you need to edit dependency to "implementation 'com.github.code2080:DrawRouteMaps:1.1.0'" and using DrawRoutMaps like this MAKE SURE YOU ENABLE DIRECTIONS API too. |
still the route is not drawn on map |
Solution: You have to add API key in the FetchUrl class and your URL should be like this: String url = "https://maps.googleapis.com/maps/api/directions/"+output+"?"+parameters + "&key=" + MY_API_KEY Hope you'll find your solution. |
Update FetchUrl class:
|
hello how do I implement Fetchurl() class? On my project I have insert the implementation dependency and DrawRouteMaps.getInstance() etc etc. Thanks |
Hi, you can solve this problem through this method: make sure your implementation is: implementation 'com.github.code2080:DrawRouteMaps:1.1.0' then change the draw route to: DrawRouteMaps.getInstance(getActivity(), "your_googlemap_api_key").draw(pos1, pos2, mMap); Keynotes: |
In My Map Two Point are ploted but path is not Shown Please Help Only Two point is visible
The text was updated successfully, but these errors were encountered: