mapbox-gl-js
mapbox-gl-js copied to clipboard
Can not get features by queryRenderedFeatures function on Model layer
mapbox-gl-js version: v3.0.0-beta.2 browser: Safari 16.6 (18615.3.12.11.2)
Steps to Trigger Behavior
1.add some gltf/glb model with method: AddModel 2.add a layer which type is "model" 3.add a mouse click event
Expected Behavior
return features under mouse point;
Actual Behavior
return an empty array
Model layer is still an experimental feature (under development) and we plan to implement this soon. queryRenderedFeatures support has not yet been implemented in GL JS. It is partly supported only in Mobile SDKs, at the moment.
This is under work now.
it's in 3.3.0? I only see 'height' property... any sample/docs?