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

Reconfigure mapView problems #49

Open
bratusev07 opened this issue Oct 26, 2024 · 1 comment
Open

Reconfigure mapView problems #49

bratusev07 opened this issue Oct 26, 2024 · 1 comment

Comments

@bratusev07
Copy link

How can I reconfigure MapView? Even after calling destroy(), I get "This MapView instance is already configured, either call destroy() on existing instance then re-create a MapView, or avoid a re-configure". And if I call destroy() and create a new MapView, I get an AssertionError in MapView.kt:227.

All I need is to replace the config of the existing MapView. How can I do this?

@p-lr
Copy link
Owner

p-lr commented Oct 26, 2024

As far as I can tell, the MapView cannot be reconfigured, so the message is missleading. After calling destroy, you have to create a new instance of MapView.

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