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

viewport Bug #15817

Closed
jak983464779 opened this issue May 10, 2024 · 1 comment
Closed

viewport Bug #15817

jak983464779 opened this issue May 10, 2024 · 1 comment
Labels

Comments

@jak983464779
Copy link

Using the Vue framework, a universal component was encapsulated, and two maps were created by introducing the component on one page;
The newly created one will be displayed normally, while the previous one will not be displayed. The dom structure
The first created canvas in the middle was lost
image
image

First creation:no has canvas
image

Second creation:has canvas
image

@ahocevar
Copy link
Member

You cannot share layers between maps. Without seeing your code, I guess that's the problem. However, sources can be shared between layers.

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

No branches or pull requests

2 participants