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.74k stars 861 forks source link

Does this plugin have navigation function? #219

Closed QixinLi closed 5 years ago

QixinLi commented 5 years ago

Or how can I use navigation function with the native GaoDe api?

haroonkhan9426 commented 5 years ago

Following the same. @QixinLi if you have found any solution for navigation, please also let me know.

ibrierley commented 5 years ago

You can use an API like Mapbox or google for navigation.

QixinLi commented 5 years ago

Following the same. @QixinLi if you have found any solution for navigation, please also let me know.

I don't think this plugin can navigate, but I solve this question by using GaoDe API in Android native. Probably, you can write a custom flutter plugin, so that you can jump to an Android native page from flutter app.

johnpryan commented 5 years ago

This is not a planned feature, sorry

bettdouglas commented 5 years ago

If the API you use returns a geojson, you can parse the geojson and create a polyline feature, then add markers and the source and destination