498499500501502503504505506507
maybeInitMarkerRemoveHandlers(); markerRemoveHandlers.addHandler(handler, new VoidCallback() { @Override public void callback() { MarkerRemoveEvent e = new MarkerRemoveEvent(Marker.this); handler.onRemove(e); } }); }
470471472473474475476477478479
public void onRemove(MarkerRemoveEvent event) { assertEquals(event.getSender(), marker); finishTest(); } }); MarkerRemoveEvent e = new MarkerRemoveEvent(marker); marker.trigger(e); } }, false); }