Replies: 2 comments 1 reply
-
It could be make the field of view dependent on pitch. Here is a demo where the fov interpolates between two values: https://wipfli.github.io/field-of-view-demo/interpolate#16/40.747266/-73.985667/0/45 |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think it might be tricky to properly define this so that it would make sense - what does 12 means? what does 35 means? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The field of view is the opening angle of the camera frustum. In photography, it would be related to the camera focal length. A small fov angle corresponds to a long focal length and a large fov to a short focal length.
The field of view has an impact on fill extrusions, terrain 3d, and the pitch of the ground plain. It changes a lot how the map looks like. You can get a feeling for it with the following demo:
https://github.com/wipfli/field-of-view-demo
If I understand correctly, we have no way of specifying field of view in a style.json document at the moment. We can only set it via
map.transform.fov
in MapLibre GL JS.Should we add a style spec root property called
fov
to specify field of view?Beta Was this translation helpful? Give feedback.
All reactions