Parry

Results 4 comments of Parry

这里有讨论的,参见这里 https://github.com/mapbox/mapbox-gl-js/issues/3250

``` function alert(){} map.addLayer({id: 'foo', ... }) map.on('click', 'foo', alert); map.off('click', 'foo', alert); map.removeLayer('foo'); ``` If you customize the layer that inherits from CustomLayerInterface , you can turn off all...