liodali / osm_flutter

OpenStreetMap plugin for flutter
https://pub.dev/packages/flutter_osm_plugin
MIT License
240 stars 98 forks source link

How to update real time location #526

Open medalawi opened 6 months ago

medalawi commented 6 months ago

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 .

liodali commented 6 months ago

we have 2 option

medalawi commented 6 months ago

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