mapbox-gl-js icon indicating copy to clipboard operation
mapbox-gl-js copied to clipboard

Click event some time does not work

Open hmendezm opened this issue 2 months ago • 0 comments

mapbox-gl-js version: 3.3.0

browser: CHROME

Steps to Trigger Behavior

  1. add
 this.map.on('click', 'zipcodes', (e) => {
      alert(`A click event has occurred on a visible portion of the poi-label layer at ${e.lngLat}`);
  });
  1. click randomly the layer

Link to Demonstration

https://jsbin.com/

Expected Behavior

Actual Behavior

hmendezm avatar Apr 11 '24 17:04 hmendezm