https://docs.mapbox.com/mapbox-gl-js/ja/api/handlers/
User interaction handlers | Mapbox GL JS | Mapbox
Use handlers to add different kinds of interactivity to the map such as mouse interactivity, touch interactions, and other gestures.
user interaction handlersmapbox gl js