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 82 forks source link

Current Location marker isnt show again #76

Closed NaufalRizqullah closed 11 months ago

NaufalRizqullah commented 11 months ago

Hello @tlserver , before that thank you for this plugin, so awesome.

currently i create (page; called Page_1) map to get current location, following you guide on Floating Action Button to Follow Current Location.

i have another page (Called Page_2), when i move that to Page_2 and back again to Page_1 i cant get current location, event after click fab button doesnt show any my location.

can u help me? (later if u want ill provide some code if neede)

Thank you.

Best Regard.

NB: but if use No Stream it work, but i want use Follow FAB cause can following location (and also zooming map). if possilbe can use No Steam, but with addition zooming map on current location?

tlserver commented 11 months ago

Can you provide a minimum reproducible example project?

NaufalRizqullah commented 11 months ago

sorry for late response, thanks for answering @tlserver , this is my minimal project, you can check here.

NB: actually i want to is like this, but i cant show a animation moving like in class CurrentLocationLayer()

tlserver commented 11 months ago

Sorry, I cannot reproduce the issue from your project. Here is the screen recording.

https://github.com/tlserver/flutter_map_location_marker/assets/8895426/df549814-e1e3-4492-b2f5-ec395dc719f2

NaufalRizqullah commented 11 months ago

Gosh, I was wrong, it's true that mobile devices are safe. (I tried it in webisite mode, so the bug appears, if you try to go back and forth the page then I think it will happen; but its okay i only focus on mobile device). Sorry to bother you, thanks @tlserver for the clarification. I will close this section.

Thanks again.