Thank you Lukas, for your fast answer (and your SVG-Framework).
> "It would be theoretically possible,"
and practically too! :)
For Chrome i use addDomHandler (works fine with libgwt-svg).
For IE i install malicious code on cliendsite. ;)
For FF i use JSNI:
public native void addNativeMouseWheelListener(
GWTDialogueMapZoomHandler handler) /*-{
function onMouseWheel(e) {
if ($wnd.event || $wnd.Event) {
if (!e)
e = $wnd.event;
var x = e.clientX;
var y = e.clientY;
var delta = e.detail * (-1);
// For bug fixing only:
// alert("x: " + x + " y: " + y + " delta: " + delta);
handler.@example.your.project.and.class.name::onMouseWheel(IID)(x, y, delta);
}
}
var svg=$doc.getElementById("DialogueMap");
svg.addEventListener("DOMMouseScroll", onMouseWheel, false);
}-*/;
Regards!
[1]
https://developers.google.com/web-toolkit/doc/latest/DevGuideCodingBasicsJSNI?hl=de