tlserver / flutter_map_location_marker

A flutter map plugin for displaying device current location.
https://pub.dev/packages/flutter_map_location_marker
BSD 3-Clause "New" or "Revised" License
97 stars 81 forks source link

Current Location Stream Controller #54

Closed yakou32 closed 1 year ago

yakou32 commented 1 year ago

Hello, Looking at the sample code to follow the current location, there's an issue with the actual update of the user location.

The controller _followCurrentLocationStreamController = StreamController<double?>(); would not provide a stream of locations.

Is this a placeholder, or do I miss something?

Thank you :)

yakou32 commented 1 year ago

Indeed, yes :) I had missed something! Thank you again for this very useful plugin!

jesussmile commented 1 year ago

How do you get the current location ?