Skip to content
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

Closed
asheemmamoowala opened this issue May 21, 2018 · 0 comments
Closed

TileJSON.bounds should clamp input latitude values #11963

asheemmamoowala opened this issue May 21, 2018 · 0 comments
Assignees
Labels
GL JS parity For feature parity with Mapbox GL JS

Comments

@asheemmamoowala
Copy link
Contributor

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-js

Actual behavior

TileJSONs containing bounds latitude values outside the [-90.0, 90.0] range throw an error and do not load the map.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
GL JS parity For feature parity with Mapbox GL JS
Projects
None yet
Development

No branches or pull requests

1 participant