Dim jo As JavaObject = gMap
Dim event As Object = jo.CreateEventFromUI("com.lynden.gmapsfx.javascript.event.UIEventHandler", "MouseMove", Null)
jo.GetFieldJO("map").RunMethod("addUIEventHandler", Array("mousemove", event))
Dim event As Object = jo.CreateEventFromUI("com.lynden.gmapsfx.javascript.event.UIEventHandler", "MouseUp", Null)
jo.GetFieldJO("map").RunMethod("addUIEventHandler", Array("mouseup", event))
Dim event As Object = jo.CreateEventFromUI("com.lynden.gmapsfx.javascript.event.UIEventHandler", "MouseDown", Null)
jo.GetFieldJO("map").RunMethod("addUIEventHandler", Array("mousedown", event))
Dim event As Object = jo.CreateEventFromUI("com.lynden.gmapsfx.javascript.event.UIEventHandler", "RightClick", Null)
jo.GetFieldJO("map").RunMethod("addUIEventHandler", Array("rightclick", event))
Dim event As Object = jo.CreateEventFromUI("com.lynden.gmapsfx.javascript.event.UIEventHandler", "MouseOut", Null)
jo.GetFieldJO("map").RunMethod("addUIEventHandler", Array("mouseout", event))
Dim event As Object = jo.CreateEventFromUI("com.lynden.gmapsfx.javascript.event.UIEventHandler", "Dblclick", Null)
jo.GetFieldJO("map").RunMethod("addUIEventHandler", Array("dblclick", event))