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

Example 19-fixedzoom scale not fixed initially #411

Open
julianoes opened this issue Nov 14, 2023 · 0 comments
Open

Example 19-fixedzoom scale not fixed initially #411

julianoes opened this issue Nov 14, 2023 · 0 comments
Labels
🪲 bug Something isn't working

Comments

@julianoes
Copy link

Describe the bug

When I first start the example 19-fixedzoom, the scale is not fixed initially. It only starts working once I deselect pan or change something else. I think that's because plane.fixedZoom is never set until changeScale() is called.

To Reproduce
Steps to reproduce the behavior:

  1. Run example 19
  2. Try to zoom

Relevant Code or Code Sandbox

function changeScale() {
plane.fixedZoom = (api.fixedZoom ? api.maxZoom : null);

@julianoes julianoes added the 🪲 bug Something isn't working label Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪲 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant