maplibre-gl-layer-control-tidop 0.0.13 → 0.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -2119,6 +2119,8 @@ class LayerControl {
2119
2119
  button.setAttribute("aria-label", `Edit style for ${layerId}`);
2120
2120
  }
2121
2121
  button.addEventListener("click", (e) => {
2122
+ e.stopPropagation();
2123
+ this.toggleStyleEditor(layerId);
2122
2124
  console.log(e);
2123
2125
  });
2124
2126
  return button;