Skip to content

map.addInteraction not handle modelLayer #13598

@GeoDaoyu

Description

@GeoDaoyu

mapbox-gl-js version

v3.17.0

Browser and version

Chrome Version 142.0.7444.176 (Official Build) (arm64)

Expected behavior

map.addInteraction can handle both geojsonLayer & modelLayer

Actual behavior

map.addInteraction can handle geojsonLayer, but not handle modelLayer.

Link to the demonstration

https://jsbin.com/lobacez/edit?html,console,output

Steps to trigger the unexpected behavior

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions