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

deck.gl: assertion failed #5

Open
zilingziling opened this issue Mar 14, 2024 · 0 comments
Open

deck.gl: assertion failed #5

zilingziling opened this issue Mar 14, 2024 · 0 comments

Comments

@zilingziling
Copy link

hi ,when I try to change map's center,I got an error "Error in callback for watcher "viewState": "Error: deck.gl: assertion failed."
Do you know why this is happening ?

here is my code :

watch: {
mapCenter(val) {
setTimeout(() => {
this.viewState = {
...this.viewState,
latitude: val[1],
longitude: val[0],
transitionDuration: 1000,
};

   });
},

},

If you have time, could you please help me with this? I would really appreciate 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

1 participant