3D Model Support #1117
-
|
I'm working on a 2D/3D map with Maplibre in a bare React Native project. I can display 3D buildings with elevations thanks to Maplibre's fill-extrusion feature. However, Maplibre's fill-extrusion feature can only draw straight lines; I can't create that slope for structures like sloped roofs or the sloped exteriors of stadiums. To solve this, I'm converting my actual building model, created in Blender, to geojson structures with a script, but when I try to add it as geojson, I still can't draw the sloped areas. My goal is to display custom-modeled locations as polygons in the same scene as my Maplibre map. Is there a way to do this? I haven't found a compatible package in bare React Native. I can't use the three package because packages like react-fiber/drei require expo, and I can't switch to expo because the project has progressed. I need to continue with bare React Native, if there's a way. I want to integrate buildings at the LOD2 LOD3 level. For example, Yandex.Maps was able to integrate this feature I wanted, but I could not find any documentation. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
AFAIK MapLibre Native still has no support for 3D Models maplibre/maplibre-native#2806. So only if MapLibre Native supports 3D for Android and iOS the React Native wrapper can add it. |
Beta Was this translation helpful? Give feedback.
AFAIK MapLibre Native still has no support for 3D Models maplibre/maplibre-native#2806. So only if MapLibre Native supports 3D for Android and iOS the React Native wrapper can add it.