You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently using the Mapbox Standard style, but I've attempted to create a custom style where I added a layer for building extrusions. However, the issue persists— my LocationPuck3D still renders above the building extrusions, despite my efforts.
I used the following code to try to move the LocationPuck3D layer below the building extrusions:
This did indeed move the layer but the model was still displayed over the buildings.
additionally, I’ve tried configuring the LocationPuck3D slot in the LayerSlot.MIDDLE but it didn't work, I tried specifying the layerBelow parameter directly in the settings, but neither approach has worked:
So I wanted to see if LayerSlot.BOTTOM works and it looks weird, It's like the puck model appears under the roads but still above the buildings, with a theme that has a custom layer for 3d buildings the same thing happens
I'm testing on an android device .
my mapbox version is: mapbox_maps_flutter: ^2.1.0
The text was updated successfully, but these errors were encountered:
Log-Mushun
changed the title
Not able to position LocationPuck3D below map 3d models (specifically building extrusions)
Not able to place LocationPuck3D below map 3d models (specifically building extrusions)
Aug 22, 2024
I'm currently using the Mapbox Standard style, but I've attempted to create a custom style where I added a layer for building extrusions. However, the issue persists— my LocationPuck3D still renders above the building extrusions, despite my efforts.
I used the following code to try to move the LocationPuck3D layer below the building extrusions:
_mapboxMap?.style.moveStyleLayer('mapbox-location-model-layer', LayerPosition(below: 'building-extrusion'));
This did indeed move the layer but the model was still displayed over the buildings.
additionally, I’ve tried configuring the LocationPuck3D slot in the LayerSlot.MIDDLE but it didn't work, I tried specifying the layerBelow parameter directly in the settings, but neither approach has worked:
So I wanted to see if LayerSlot.BOTTOM works and it looks weird, It's like the puck model appears under the roads but still above the buildings, with a theme that has a custom layer for 3d buildings the same thing happens
I'm testing on an android device .
my mapbox version is: mapbox_maps_flutter: ^2.1.0
The text was updated successfully, but these errors were encountered: