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
🐛 Question description [Please make everyone to understand it]
I build a new layer - PointLayer and subscribe to a click event.
layer.on('click', e => {
console.log('click',e);
const { lng, lat } = e.lngLat;
});
when remove this layer with scene.remove(layer), wondering is there any method to unregister the click listener or the scene.remove(layer) can automatically do the job.
🐛 Question description [Please make everyone to understand it]
I build a new layer - PointLayer and subscribe to a click event.
when remove this layer with
scene.remove(layer)
, wondering is there any method to unregister the click listener or thescene.remove(layer)
can automatically do the job.The text was updated successfully, but these errors were encountered: