155156157158159160161162163164
maybeInitMarkerClickHandlers(); markerClickHandlers.addHandler(handler, new VoidCallback() { @Override public void callback() { MarkerClickEvent e = new MarkerClickEvent(Marker.this); handler.onClick(e); } }); }
165166167168169170171172173
final MapWidget map = new MapWidget(); map.setSize("300px", "300px"); map.addOverlay(marker1); RootPanel.get().add(map); marker1.trigger(new MarkerClickEvent(marker1)); } }, false); }
89909192939495969798
assertEquals(event.getSender(), marker); finishTest(); } }); MarkerClickEvent e = new MarkerClickEvent(marker); marker.trigger(e); } }, false); }