Skip to content


Here are 3,421 public repositories matching this topic...

blahblahblah- commented Nov 1, 2020

When map.fitBounds(...) is called with a bearing option passed in, it seems like the bearing is not taken into the account on calculating the appropriate zoom, resulting in part of the bounded area to not be in view.

mapbox-gl-js version: 1.12.0

browser: Chrome

Steps to Trigger Behavior

  1. Create a bounded area with a list of coordinates
  2. Call map.fitBounds(...) wi

Improve this page

Add a description, image, and links to the webgl topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the webgl topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.