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

Displaying multiple maps #14

Closed
c0dd3vi11 opened this issue Jun 1, 2020 · 2 comments
Closed

Displaying multiple maps #14

c0dd3vi11 opened this issue Jun 1, 2020 · 2 comments

Comments

@c0dd3vi11
Copy link

Hello, @peterLaurence! Could you help me how to manage maps switching with your MapView? redrawTiles seems to work not correct.

I tried to make three different MapView's. But then I got a problem that sometimes tiles don't draw when I change visibility from View.INVISIBLE to View.VISIBLE for a next MapView.

@c0dd3vi11 c0dd3vi11 changed the title [Feature request] Displaying multiple maps Displaying multiple maps Jun 1, 2020
@p-lr
Copy link
Owner

p-lr commented Jun 1, 2020

Hi,

The recommended way to switch maps is to destroy the existing MapView using MapView.destroy(), remove it from the view hierarchy, and then create a new MapView and configure it.
This is how it it's intended to be used.

@c0dd3vi11
Copy link
Author

Thank you for replying. I got it.

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