You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Add public axonometric (isometric, skew) option #11882
#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?
#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.
Activity
stale commentedon Nov 29, 2018
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.
[core] Offset viewport center when edge insets are specified
stale commentedon May 28, 2019
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.
1ec5 commentedon May 28, 2019
#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