fleaflet / flutter_map

A versatile mapping package for Flutter. Simple and easy to learn, yet completely customizable and configurable, it's the best choice for mapping in your Flutter app.
https://pub.dev/packages/flutter_map
BSD 3-Clause "New" or "Revised" License
2.73k stars 860 forks source link

Drawing route (Direction, not Skyway line) #749

Closed dev-phamquoctrong closed 4 years ago

dev-phamquoctrong commented 4 years ago

image Sorry my englist is not good. I hope you understand.

I want something like this. PolylineLayerOptions draw a line from start point to end point. It's skyway, not route. Help me, please.

maRci002 commented 4 years ago

Raster Tiles are just images we don't have any information about routes.

dev-phamquoctrong commented 4 years ago

Raster Tiles are just images we don't have any information about routes.

Example: Depart point is Paris, France and arrive point is Rennes, France. I want draw a route from depart to arrive, not a skyway. I hope you understand

maRci002 commented 4 years ago

I know what you mean, however we don't know about any routes in the app itself. Even if we would know the all routes on the earth then there are plenty of algorithms, I mean use highways / fields / shortest route etc. I assume you think we have information about current traffic too, forexample there is a traffic jam?