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

Is geolocator plugin required ? #38

Closed fvisticot closed 1 year ago

fvisticot commented 1 year ago

Some applications does not use geolocator plugin but location plugin. Is it possible to "abstract" the location stream to be more flexible on the location plugin to be used ?

tlserver commented 1 year ago

Just provide your own positionStream in LocationMarkerLayerOptions.

Also see the example 5 in README. Custom Stream : Use your own stream, such as position stream from other library or predefined route, as the source.