-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Visualize a layer underground/pitch a map underground #13342
Comments
Thank you for the very detailed request! This is definitely an interesting topic and something we consider exploring. The line-z-offset should already allow you to set a negative value to the z-axis to render lines blow surface. Same holds true for the symbol z-offset and model-translation altitude offset, which enables you to place 2D icons and 3D models underground as well. While we do not support a 'glassview' toggle out of the box, there are a few tools that might help you achieve the desired effect.
I'd appreciate if you could try out these suggestions and get back to us with feedback! |
I tried to use line-occlusion-opacity for this, but it does not work. Should'nt the lines be invisible under the 3D buildings? I am using the standard mapbox 3D style. This is my layer:
|
@kamami could you try to disable |
Yes, the slot did the trick! Thanks |
Thanks a lot for the quick response and all the hints @oosafff !! Testing configurationThe screenshot shows:
FeedbackFrom this I noticed: ii. The 3D terrain is still fully visible, hiding the background below. iii. Out of curiosity I tried model-translation on the 3D building model layer but it seems to have no effect neither: layer.paint['model-translation'] = [100, 100, -100]; I suppose this only works on custom models, correct? Again thank you! If you have any further hints, I would really appreciate it! Btw. I am using 3.7.0: ├─┬ @types/[email protected] |
Motivation
First of all thank you for your awesome work at Mapbox! I love building with your platform!
Now, the feature request:
In urban planning/smart city visualization (among other areas) it is necessary to visualize data underground. For example pipes, drainage basins or subways should be visible when displaying a city and planning for it, as else valuable information might get lost. Here, it would be great to have the option to visualize such data under and not above the ground. Or preferably even pitch the map underground.
Design
Mock-Up
There is a good example for ESRI's sceneview how this could look like. Of course with the nicer Mapbox models and styling.
Help welcome
In the meantime I would be very grateful for any hints on how too implement this using the current Mapbox state!
The text was updated successfully, but these errors were encountered: