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

Inconsistent Zooms Level #264

Open
thehaseebahmed opened this issue Sep 17, 2020 · 0 comments
Open

Inconsistent Zooms Level #264

thehaseebahmed opened this issue Sep 17, 2020 · 0 comments

Comments

@thehaseebahmed
Copy link

There is inconsistent zoom level on different routes and I am unable to fix it to a particular level. I'm using the following options:

const directions = new MapboxDirections({
      accessToken: environment.mapbox.accessToken,
      unit: "metric",
      profile: "mapbox/driving",
      flyTo: true,
      interactive: false,
      controls: {
        inputs: false,
        instructions: false,
        profileSwitcher: false,
      },
      styles: directionStyles,
      zoom: 6,
    });

Any help will be appreciated.

@thehaseebahmed thehaseebahmed changed the title Inconsistent Zooms Inconsistent Zooms Level Sep 17, 2020
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