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

Assertion error thrown during Mercator-globe transition #12057

Open
SnailBones opened this issue Jul 1, 2022 · 0 comments
Open

Assertion error thrown during Mercator-globe transition #12057

SnailBones opened this issue Jul 1, 2022 · 0 comments

Comments

@SnailBones
Copy link
Contributor

SnailBones commented Jul 1, 2022

mapbox-gl-js version: main since #11329

browser: Chrome and Firefox

Steps to Trigger Behavior

  1. Open a globe with a development build of GL JS
  2. Position the map at high pitch and near the antimeridian, and > zoom 6 (e.g. http://localhost:9966/debug/projections.html#6.08/21.605/-157.219/-15.9/85)
  3. Enable default fog (`map.setFog({}))
  4. Zoom out across globe transition

The following error appears in console:

{
    "name": "AssertionError",
    "actual": false,
    "expected": true,
    "operator": "==",
    "message": "Invalid aabb min and max inputs, min[i] must be < max[i].",
    "generatedMessage": false
}

Looking at the stack trace this is coming from transform.coveringTiles():

const sqDist = getAABBPointSquareDist(min, max);

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant