Commit 7c652989 authored by Daniel STAN's avatar Daniel STAN
Browse files

[wifimap] Ajout d'une transparence des events

Suffisait de chercher: style="pointer-events: none;"
parent c4e2d773
......@@ -181,6 +181,7 @@ WifiMap = {
this.marker.icon.offset.x = -this.marker.icon.size.w/2;
this.marker.icon.offset.y = -this.marker.icon.size.h;
this.marker.icon.setOpacity(this.highlighted ? 0.7 : 1)
this.marker.icon.imageDiv.style.pointerEvents = this.highlighted ? 'none': '';
this.marker.icon.draw();
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment