如何在图层点击事件中停止事件传播?
mapBox.on('click', layerId, function (e) {
console.log(e);
// e.stopPropagation(); which is not working
// e.originalEvent.stopPropagation(); which is not working
var popupHtml = getPopupHtmlWrapper(e.features[0]);
new mapboxgl.Popup({closeButton:false})
.setLngLat(e.lngLat)
.setHTML(popupHtml)
.addTo(mapBox);
});