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.

Add public axonometric (isometric, skew) option #11882

Open

Description

@1ec5

#10064 implemented an axonometric (isometric) rendering option as an alternative to perspective 3D rendering, but it only exposed the option to node-mapbox-gl-native. Similar to Tangram, it would be nice to expose this option in the map SDKs.

At a glance, it looks like the skew would logically be a property of MGLMapCamera on iOS/macOS. However, it’s currently implemented in mbgl as an option on mbgl::Map. Would it make sense to move the option from mbgl::Map to mbgl::CameraOptions? Would it be feasible to animate the skew simultaneously with other camera options, as that would imply?

/cc @lbud

Activity

  1. added
    iOS
    macOS
    Android
    Tangram parity
    on May 11, 2018
  2. added
    archived
    on Nov 7, 2018
  3. stale commented on Nov 29, 2018

    @stale

    This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.

  4. removed
    archived
    on Nov 29, 2018
  5. added
    archived
    on May 28, 2019
  6. stale commented on May 28, 2019

    @stale

    This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.

  7. removed
    archived
    on May 28, 2019
  8. 1ec5 commented on May 28, 2019

    @1ec5
    ContributorAuthor

    #14664 adjusts the map’s focal point to account for content insets by adjusting the projection matrix. These adjustments are currently overridden when using axonometric perspective. This issue is latent because only the Node bindings expose an axonometric perspective option, while only the mobile SDKs expose content inset options. But as soon as we implement the feature requested here, we’ll need to address the overridden projection matrix.

    /cc @astojilj

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    AndroidTangram parityfeaturegl-iosiOSmacOS

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions