This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
TileJSON.bounds should clamp input latitude values #11963
Labels
GL JS parity
For feature parity with Mapbox GL JS
Platform: All
Expected behavior
TileJSONs containing
bounds
latitude values outside the[-90.0, 90.0]
have their latitudes clamped to the allowed range, same as mapbox-gl-jsActual behavior
TileJSONs containing
bounds
latitude values outside the[-90.0, 90.0]
range throw an error and do not load the map.The text was updated successfully, but these errors were encountered: