Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to refresh sourceLatLng and destinationLatLng ? #11

Closed
davamp opened this issue Sep 22, 2022 · 2 comments
Closed

How to refresh sourceLatLng and destinationLatLng ? #11

davamp opened this issue Sep 22, 2022 · 2 comments

Comments

@davamp
Copy link

davamp commented Sep 22, 2022

No description provided.

@rithik-dev
Copy link
Owner

Hey, right now the params are set when the widget is initialized, so. Currently, you can pass a ValueKey with the source and destination, and that would cause a rebuild of the widget..

I am working on fix for this issue.

@rithik-dev
Copy link
Owner

Hey @davamp , the fix for this is live. Try using version 1.0.5...

You can create a controller, and call methods setSourceLatLng or setDestinationLatLng to update lat lng.

I've updated the README, go through it, and let me know if you face any issue.

Closing this PR now, and feel free to re-open this issue or create a new one if needed..

Thanks for reporting this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants