diff --git a/style.css b/style.css index fc4098c..43a78b3 100644 --- a/style.css +++ b/style.css @@ -310,3 +310,14 @@ display: inline-block; text-align: center; } + +/* ピン内部の要素にクリックイベントを通す */ +.custom-pin, +.custom-pin * { + pointer-events: auto !important; +} + +/* Leaflet のデフォルトを上書きして DivIcon をクリック可能に */ +.leaflet-interactive { + pointer-events: auto !important; +}