get depth-map
#1777
Replies: 2 comments
-
I'm not sure this is possible, but there is a sky PR which sounds similar to what you would like to achieve. I would consider looking into if first and see if it helps with this concept: |
Beta Was this translation helpful? Give feedback.
0 replies
-
maplibre/maplibre-style-spec#161 seems somehow related |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wonder if it is possible to get a depth-map via maplibre? Meaning the distance from the current camera position to each Pixel in the map.
For untilted views from top this would basically be the distance to the ground plane and is only dependend on the zoom level for 2D maps and additionally on the terrain elevation for 3D maps. It gets more complicated for tilted maps with 3D terrain.
Applications I have in mind are e.g. to apply filters on the mapview based on distance. (Blur distant areas, desaturate further mountain ranges, ...).
Beta Was this translation helpful? Give feedback.
All reactions