Open medalawi opened 6 months ago
we have 2 option
await controller.currentLocation();
await controller.enableTracking(
enableStopFollow: true,
disableUserMarkerRotation: false,
anchor: Anchor.right,
useDirectionMarker: true,
);
// to disable tracking
await controller.disabledTracking();
or use the manual follow
// start receiving user location
await controller.startLocationUpdating();
// stop receiving user location
await controller.stopLocationUpdating()
use our `OSMMixinObserver` and call `onLocationChanged` and put your logic to move the map
https://github.com/liodali/osm_flutter/assets/29026981/ccca7968-2874-4a29-a9e7-9fccf9c37b75
here is what I got on both Osmixinobserver and internal implementation, Onlocationchanged print Geopoint every 30 second how to make it every 1 sec ? Thank you
I'm new with this awesome plugin I'm facing this problem:
Location on Android studio emulator update marker on app every 30 second when I play route How to update marker position on map in Realtime when user move Thank you .