Replies: 1 comment 2 replies
-
You might be able to achieve this use a custom layer, as you have reference to the gl context. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Our product team has expressed interest in the ability to "z exaggerate / explode" raster layers on the map for analysis. ie render different layers at a different vertical offset so you can see a slice of each layer when looking at a 45* angle instead of only the topmost raster.
Something like this
![image](https://private-user-images.githubusercontent.com/693020/376082397-1a566780-7f4a-4fed-9c2a-f599ddf286ab.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMzM5NTUsIm5iZiI6MTczOTEzMzY1NSwicGF0aCI6Ii82OTMwMjAvMzc2MDgyMzk3LTFhNTY2NzgwLTdmNGEtNGZlZC05YzJhLWY1OTlkZGYyODZhYi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOVQyMDQwNTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iMDUyYzFlZGRjZjc1MWZjNTI5ODRlZmE5NjVlN2NjNzEzNzdmZTRjNmMzMTU1MmNmNTZiODY0NzQ1ZjQwNzdmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.KMy20RUOuiUXxto9A-TaJt6dGCLwS0rwuBAfSnPTNLM)
which was achieved with vector data using a fill-extrusion layer with a fill-extrusion-base and fill-extrusion-height set to generate the vertical offset between layers.
That functionality is effectively what they are after I believe, but it's only applicable to vector sources not raster sources which is what they want.
Is this possible through some other mechanism that I don't know about? If not, is this something maplibre has any interest in supporting?
Beta Was this translation helpful? Give feedback.
All reactions