Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

revisit rotation limits #458

@jfirebaugh

Description

@jfirebaugh

gl-native currently disallows rotation at z<3. This prevents several use cases that it should support:

  • Showing interactive rotated low zoom maps, even with world edges, if so desired.
  • Showing a non-interactive 90° or 180° ("South Up") map at low zoom level.
  • Headless rendering of low zoom level rotated static maps.

This is also currently causing headless test failures on fill-translate-anchor tests, which apply 90° rotation at z0.

I think we should remove the current rotation limits in Transform and replace them with something that applies constraints at a higher level, is off in headless contexts, can be opt-out in interactive contexts, and shares behavior with gl-js.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions