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

SetCameraOptionsAsync resets non set properties to default value #76

Open
sensslen opened this issue Sep 14, 2022 · 0 comments
Open

SetCameraOptionsAsync resets non set properties to default value #76

sensslen opened this issue Sep 14, 2022 · 0 comments

Comments

@sensslen
Copy link
Contributor

Describe the bug
I'm using SetCameraOptionsAsync to set a new center. If the user has previously changed the zoom level of the map (e.g. by using the scroll wheel) the zoom level is reset to the initial value after SetCameraOptionsAsync is called

To Reproduce
Steps to reproduce the behavior:

  1. Create new map
  2. Change zoom level
  3. Call SetCameraOptionsAsync with a lambda that sets a new center
  4. See error

Expected behavior
The zoom level should be kept

Desktop (please complete the following information):

  • OS: Windows
  • Browser Chrome
  • Version 105.0.5195.102

Additional context
I'm creating a blazor wasm application

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