Flutter | How to draw polyline between two points using Directions API | Proglabs

preview_player
Показать описание
By following this tutorial you would be able to draw a polyline on Google maps using Directions API. You would also be able to get a glimpse how you can hit API using http package. You will also be able to create model class for API. You would also get an idea how to get time and distance between two points you will able to get the actual distance between two points instead of aerial distance.

GitHub repo:

Check our website
For blogs
For Queries

Get us on Social media
Рекомендации по теме
Комментарии
Автор

Brilliant man ❤❤, done a greate job, but can you tell me it is not following the roads like the google maps do while navigating, means why it is not following the roads ??

vibelyrics
Автор

But how we can draw the polyline which should follow the exact path of Google map?

HamzaBaidar
Автор

nice video but my mappage is not showing total diatance, total time as well as polyline is not shown. No error is shown while running the app. App builds smoothly. Where am i getting problem. Please help asap!!!!

kabirkhadka
Автор

Sir i put my api key but map not opening

SICSPRADEEPHV